summaryrefslogtreecommitdiff
path: root/libgcompat/gnulib.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-14 22:17:13 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-15 00:02:54 -0600
commit28096715d49fe420ed194e8520ec5e81bc2cdc85 (patch)
tree854bfe79c924dc6c66bc8065a45b543822935277 /libgcompat/gnulib.c
parent810f46ab1cc801e54fc3836c22b5f1364cd632e6 (diff)
downloadgcompat-28096715d49fe420ed194e8520ec5e81bc2cdc85.tar.gz
gcompat-28096715d49fe420ed194e8520ec5e81bc2cdc85.tar.bz2
gcompat-28096715d49fe420ed194e8520ec5e81bc2cdc85.tar.xz
gcompat-28096715d49fe420ed194e8520ec5e81bc2cdc85.zip
grp: Implement fgetgrent_r/getgrent_r
Like fgetpwent_r/getpwent_r, these require a deep copy of the structure into the caller-provided buffer. This is nontrivial for the array of strings member. getgrent_r is required by LSB. [NOTE: I'm not too happy with the macro, but it works. Any suggestions?] Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'libgcompat/gnulib.c')
0 files changed, 0 insertions, 0 deletions