summaryrefslogtreecommitdiff
path: root/libgcompat/grp.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-15grp: Implement fgetgrent_r/getgrent_rSamuel Holland1-0/+98
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>