42sh 1.0.0
Create a shell in C
|
The file containing the ansi functions. More...
#include "../../include/myshell.h"
Functions | |
void | move_cursor (int *pos, char *str, char **str2) |
Move the cursor. | |
int | ctrl (char c, int *pos, char *str, char **str2) |
Handle the control key. | |
int | backspace (char c, int *pos, char *str, char **str2) |
Handle the backspace key. | |
The file containing the ansi functions.
int backspace | ( | char | c, |
int * | pos, | ||
char * | str, | ||
char ** | str2 ) |
Handle the backspace key.
c | The character |
pos | The position of the cursor |
str | The string |
str2 | The second string |
int ctrl | ( | char | c, |
int * | pos, | ||
char * | str, | ||
char ** | str2 ) |
Handle the control key.
c | The character |
pos | The position of the cursor |
str | The string |
str2 | The second string |
void move_cursor | ( | int * | pos, |
char * | str, | ||
char ** | str2 ) |
Move the cursor.
stream | The stream |
pos | The position of the cursor |
str | The string |
str2 | The second string |