musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/grp.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013年04月04日 19:23:47 -0400
committerRich Felker <dalias@aerifal.cx>2013年04月04日 19:23:47 -0400
commitddfb267b0e72499f6022981733264a063ec881f0 (patch)
tree854193fad4a1c8ba4dac7816a4bac90e16f15654 /include/grp.h
parent771c6cead0684487a0699750ff740e3d3894200a (diff)
downloadmusl-ddfb267b0e72499f6022981733264a063ec881f0.tar.gz
add put*ent functions for passwd/group files and similar for shadow
since shadow does not yet support enumeration (getspent), the corresponding FILE-based get and put versions are also subbed out for now. this is partly out of laziness and partly because it's not clear how they should work in the presence of TCB shadow files. the stubs should make it possible to compile some software that expects them to exist, but such software still may not work properly.
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h 1
1 files changed, 1 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)
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月04日 14:27:58 +0000

AltStyle によって変換されたページ (->オリジナル) /