Source to include/grp.h
0001 #ifndef _GRP_H
0002 #define _GRP_H
0003 /*
0004 * grp.h
0005 * "groups", ala VSTa
0006 *
0007 * Much of the POSIX group concept is missing; we emulate
0008 * what we can.
0009 */
0010 #include <sys/types.h>
0011
0012 /*
0013 * Group information
0014 */
0015 struct group {
0016 char *gr_name; /* Name of group */
0017 gid_t gr_gid; /* GID */
0018 char **gr_mem; /* Members (not tabulated) */
0019 char *gr_ids; /* List of IDs granted this group */
0020 };
0021
0022 /*
0023 * Procedures
0024 */
0025 extern struct group *getgrgid(gid_t),
0026 *getgrnam(char *);
0027
0028 #endif /* _GRP_H */