cmd: add initial commands ls and help

This commit is contained in:
Michael Shaw 2023-10-20 23:56:01 -04:00
commit 0029621ada
6 changed files with 133 additions and 6 deletions

View file

@ -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);