grp.h 541 B

123456789101112131415161718192021
  1. /* $Id$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. #ifndef _GRP_H
  7. #define _GRP_H
  8. struct group {
  9. char *gr_name; /* the name of the group */
  10. char *gr_passwd; /* the group passwd */
  11. int gr_gid; /* the numerical group ID */
  12. char **gr_mem; /* a vector of pointers to the members */
  13. };
  14. extern struct group *getgrgid();
  15. extern struct group *getgrnam();
  16. extern struct group *getgrent();
  17. #endif /* _GRP_H */