diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/grp.h | 1 | ||||
-rw-r--r-- | include/pwd.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/grp.h b/include/grp.h index 8e2e1f20..b331d326 100644 --- a/include/grp.h +++ b/include/grp.h @@ -36,6 +36,7 @@ void setgrent(void); #ifdef _GNU_SOURCE struct group *fgetgrent(FILE *stream); +int putgrent(const struct group *, FILE *); #endif #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) diff --git a/include/pwd.h b/include/pwd.h index 91fe426f..55d9d42d 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -39,6 +39,7 @@ int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **) #ifdef _GNU_SOURCE struct passwd *fgetpwent(FILE *); +int putpwent(const struct passwd *, FILE *); #endif #ifdef __cplusplus |