add put*ent functions for passwd/group files and similar for shadow
[musl] / include / grp.h
index 8e2e1f2..b331d32 100644 (file)
@@ -36,6 +36,7 @@ void           setgrent(void);
 
 #ifdef _GNU_SOURCE
 struct group  *fgetgrent(FILE *stream);
 
 #ifdef _GNU_SOURCE
 struct group  *fgetgrent(FILE *stream);
+int putgrent(const struct group *, FILE *);
 #endif
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #endif
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)