1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/tools/regression/lib/libutil
Sean Farley 0b5e889911 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
2008-04-23 00:49:13 +00:00
..
Makefile Add four utility functions related to struct grp processing modeled in-part 2008-04-23 00:49:13 +00:00
test-flopen.c
test-flopen.t
test-grp.c Add four utility functions related to struct grp processing modeled in-part 2008-04-23 00:49:13 +00:00
test-grp.t Add four utility functions related to struct grp processing modeled in-part 2008-04-23 00:49:13 +00:00
test-trimdomain-nodomain.c
test-trimdomain-nodomain.t
test-trimdomain.c
test-trimdomain.t