diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-17 22:23:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-17 22:23:53 -0700 |
commit | 86d3b7542e1dffa525f0d131d1ef26440055f39e (patch) | |
tree | 6b8ffa84dedef15ed83b15b872cf7b376ffb1cb3 /lisplib.c | |
parent | 7959a22f6f5434dcbc505c1a8f7b560c5b621077 (diff) | |
download | txr-86d3b7542e1dffa525f0d131d1ef26440055f39e.tar.gz txr-86d3b7542e1dffa525f0d131d1ef26440055f39e.tar.bz2 txr-86d3b7542e1dffa525f0d131d1ef26440055f39e.zip |
Add unix group database functions.
* configure (have_grgid): New variable.
New tests added for getgrent and the rest.
(HAVE_GRGID, HAVE_GRGID_R): New preprocessor symbols
conditionally deposited into config/config.h.
* sysif.c (group_s, mem_s): New global symbol variables.
(setgrent_wrap, endgrent_wrap, fill_group, make_grstruct,
get_grent_wrap, getgrgid_wrap, getgrnam_wrap): New static
functions.
(sysif_init): New global symbol variables initialized.
New group struct type instantiated.
Intrinsic functions setgrent, endgrent, getgrent,
getgrgid and getgrnam registered.
* txr.1: Documented group structure and functions.
Diffstat (limited to 'lisplib.c')
0 files changed, 0 insertions, 0 deletions