Userland: Add wc program (#228)

Fixes #159.
This commit is contained in:
Callum Attryde 2019-06-16 13:13:57 +01:00 committed by Andreas Kling
commit 267672efee
Notes: sideshowbarker 2024-07-19 13:34:59 +09:00
3 changed files with 174 additions and 0 deletions

View file

@ -57,6 +57,8 @@ int fileno(FILE*);
int fgetc(FILE*);
int getc(FILE*);
int getchar();
ssize_t getdelim(char**, size_t*, int, FILE*);
ssize_t getline(char**, size_t*, FILE*);
int ungetc(int c, FILE*);
int remove(const char* pathname);
FILE* fdopen(int fd, const char* mode);