summaryrefslogtreecommitdiffstats
path: root/pw/pwupd.c
diff options
context:
space:
mode:
authorSean Farley <scf@FreeBSD.org>2008-04-23 00:49:13 +0000
committerSean Farley <scf@FreeBSD.org>2008-04-23 00:49:13 +0000
commit97cc03f4f3328180c8f49cd61c406bb7bc8a2dcb (patch)
treead0ea3d8e0c37a4fc81d211a9bcd68f4eb950de4 /pw/pwupd.c
parent5fba38d0ad9b28b48e7927838169aca2983c6ae9 (diff)
downloadpw-darwin-97cc03f4f3328180c8f49cd61c406bb7bc8a2dcb.tar.gz
pw-darwin-97cc03f4f3328180c8f49cd61c406bb7bc8a2dcb.zip
Add four utility functions related to struct grp processing modeled in-part
after similar calls related to struct pwd in libutil/pw_util.c: - gr_equal() Perform a deep comparison of two struct grp's. It does a thorough, yet unoptimized comparison of all the members regardless of order. - gr_make() Create a string (see group(5)) from a struct grp. - gr_dup() Duplicate a struct grp. Returns a value that is a single contiguous block of memory. - gr_scan() Create a struct grp from a string (as produced by gr_make()). MFC after: 3 weeks
Diffstat (limited to 'pw/pwupd.c')
0 files changed, 0 insertions, 0 deletions