ack/lang/cem/libcc.ansi/headers/grp.h

22 lines
357 B
C
Raw Normal View History

1994-06-24 14:02:31 +00:00
/* $Id$ */
1989-12-18 14:00:32 +00:00
#if !defined(_GRP_H)
#define _GRP_H
struct group { /* see getgrent(3) */
char *gr_name;
char *gr_passwd;
#if defined(_POSIX_SOURCE) && defined(_MINIX)
char gr_gid;
#else
1989-12-18 14:00:32 +00:00
int gr_gid;
#endif
1989-12-18 14:00:32 +00:00
char **gr_mem;
};
struct group *getgrent(void);
struct group *getgrgid(int _gid);
struct group *getgrnam(const char *_name);
1989-12-18 14:00:32 +00:00
#endif /* _GRP_H */