Add getpwent() family of functions to LibC.

Also add a little /etc/passwd database. There's just me in there.
This commit is contained in:
Andreas Kling 2018-10-31 19:49:22 +01:00
commit 9886b27d9c
Notes: sideshowbarker 2024-07-19 18:35:44 +09:00
17 changed files with 175 additions and 25 deletions

View file

@ -31,6 +31,9 @@ int getc(FILE*);
int getchar();
FILE* fopen(const char* pathname, const char* mode);
int fclose(FILE*);
void rewind(FILE*);
void clearerr(FILE*);
int feof(FILE*);
size_t fread(void* ptr, size_t size, size_t nmemb, FILE*);
size_t fwrite(const void* ptr, size_t size, size_t nmemb, FILE*);
int fprintf(FILE*, const char* fmt, ...);