Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
649 B

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. grp.h
  5. Abstract:
  6. Defines data types and declares routines necessary for group database
  7. access, as required by 1003.1-88 (9.2.1).
  8. --*/
  9. #ifndef _GRP_
  10. #define _GRP_
  11. #include <sys/types.h>
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. struct group {
  16. char *gr_name; /* the name of the group */
  17. gid_t gr_gid; /* the numerical group ID */
  18. char **gr_mem; /* null-terminated vector of pointers*/
  19. /* to the individual member names*/
  20. };
  21. struct group * __cdecl getgrgid(gid_t);
  22. struct group * __cdecl getgrnam(const char *);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* _GRP_ */