|
42sh 1.0.0
Create a shell in C
|
The file containing the getline functions. More...
#include "../../include/myshell.h"Functions | |
| void | insert_index (char *str, char c, int *pos, char **str2) |
| Insert a character at the index. | |
| int | my_getline (char **line, FILE *stream) |
| Get the line from the stream. | |
The file containing the getline functions.
| void insert_index | ( | char * | str, |
| char | c, | ||
| int * | pos, | ||
| char ** | str2 ) |
Insert a character at the index.
| str | The string |
| c | The character to insert |
| pos | The position of the cursor |
| str2 | The second string |
| int my_getline | ( | char ** | line, |
| FILE * | stream ) |
Get the line from the stream.
| line | The line to store the command |
| stream | The stream |