mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
f095bb7204
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
29 lines
683 B
Plaintext
29 lines
683 B
Plaintext
#ifndef ISO
|
|
type {struct group}
|
|
element {struct group} {char*} gr_name
|
|
element {struct group} gid_t gr_gid
|
|
element {struct group} {char**} gr_mem
|
|
|
|
# ifndef POSIX
|
|
type gid_t
|
|
# endif
|
|
# if defined XOPEN2K8 || defined POSIX2008
|
|
type size_t
|
|
# endif
|
|
|
|
function {struct group*} getgrgid (gid_t)
|
|
function {struct group*} getgrnam (const char*)
|
|
# ifndef POSIX
|
|
function int getgrgid_r (gid_t, struct group*, char *, size_t, struct group**)
|
|
function int getgrnam_r (const char *, struct group *, char *, size_t, struct group**)
|
|
function {struct group*} getgrent (void)
|
|
function void endgrent (void)
|
|
# ifndef POSIX2008
|
|
function void setgrent (void)
|
|
# endif
|
|
# endif
|
|
|
|
allow gr_*
|
|
allow *_t
|
|
#endif
|