1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

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
parent 819ce91395
commit 9886b27d9c
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, ...);