cmd: add initial commands ls and help
This commit is contained in:
parent
4362172967
commit
0029621ada
6 changed files with 133 additions and 6 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <kernel/lock.h>
|
||||
|
||||
|
|
@ -17,6 +18,7 @@ void *memset(void *str, int c, size_t n);
|
|||
char *strcpy(char *dest, const char *src);
|
||||
char *strncpy(char *dest, const char *src, size_t n);
|
||||
char *strtok(char *str, const char *delim, char **llast);
|
||||
bool strempty(const char *s);
|
||||
char **strsplit(const char *str, char delim, int *num);
|
||||
size_t strlen(const char *c);
|
||||
int atoi(const char *a);
|
||||
|
|
|
|||
Loading…
Reference in a new issue