diff options
Diffstat (limited to 'public/sdk/inc/posix/grp.h')
-rw-r--r-- | public/sdk/inc/posix/grp.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/public/sdk/inc/posix/grp.h b/public/sdk/inc/posix/grp.h new file mode 100644 index 000000000..a7801dcea --- /dev/null +++ b/public/sdk/inc/posix/grp.h @@ -0,0 +1,39 @@ +/*++ + +Copyright (c) 1992-1996 Microsoft Corporation + +Module Name: + + grp.h + +Abstract: + + Defines data types and declares routines necessary for group database + access, as required by 1003.1-88 (9.2.1). + +--*/ + +#ifndef _GRP_ +#define _GRP_ + +#include <sys/types.h> + +#ifdef __cplusplus +extern "C" { +#endif + +struct group { + char *gr_name; /* the name of the group */ + gid_t gr_gid; /* the numerical group ID */ + char **gr_mem; /* null-terminated vector of pointers*/ + /* to the individual member names*/ +}; + +struct group * _CRTAPI1 getgrgid(gid_t); +struct group * _CRTAPI1 getgrnam(const char *); + +#ifdef __cplusplus +} +#endif + +#endif /* _GRP_ */ |