diff --git a/README.md b/README.md index 42b3156..e2fef2e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## 1. todo list : +## todo list : --- - **global features :** @@ -111,7 +111,8 @@ two more functions : - **tgoto** : `char *tgoto (char *cstring, int hpos, int vpos)` encoding numeric parameters such as cursor positions into the terminal-specific form required for display commands - **tputs** : `int tputs (char *string, int nlines, int (*outfun) ());` output a string containing an optional padding spec -### other : +**other :** + - **printf** : `int printf(const char *format, ...);` produce output to stdout according to a specified format - **malloc** : `void *malloc(size_t size);` allocates size bytes and returns a pointer to the allocated memory. The memory is not initialized - **free** : `void free(void *ptr);` frees the memory space pointed to by ptr, which must have been returned by a previous call to malloc() @@ -138,6 +139,8 @@ two more functions : - [exit code status](https://tldp.org/LDP/abs/html/exitcodes.html) - [`char **s` vs `char *s[]`](https://stackoverflow.com/questions/46830654/what-is-the-difference-between-extern-char-environ-and-extern-char-environ) - [extern and global](https://stackoverflow.com/questions/2652545/extern-and-global-in-c) +- [PS1 variable contain prompt](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03) +- [force readline return without pressing ctrl-c](https://stackoverflow.com/questions/53165704/readline-c-force-return-of-certain-text-in-readline) **bash scripts :** - [on which stream deos bash redirect its prompt](https://unix.stackexchange.com/questions/20826/which-stream-does-bash-write-its-prompt-to) @@ -153,5 +156,3 @@ two more functions : - ["\[" vs "\[\[" in bash](https://stackoverflow.com/questions/13542832/difference-between-single-and-double-square-brackets-in-bash) - [redirections in bash](https://stackoverflow.com/questions/818255/in-the-shell-what-does-21-mean) - [bash variable of variable](https://stackoverflow.com/questions/10757380/bash-variable-variables) -- [PS1 variable contain prompt](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03) -- [force readline return without pressing ctrl-c](https://stackoverflow.com/questions/53165704/readline-c-force-return-of-certain-text-in-readline) diff --git a/minishell_tests b/minishell_tests index 0a8756c..3c89304 160000 --- a/minishell_tests +++ b/minishell_tests @@ -1 +1 @@ -Subproject commit 0a8756c2005ce3dc051eb4497f62502fdd03d635 +Subproject commit 3c89304cdad9b8622ee43a86249a34c94f3f2988