|
|
1.1 root 1: /*++
2:
3: Copyright (c) 1992 Microsoft Corporation
4:
5: Module Name:
6:
7: grp.h
8:
9: Abstract:
10:
11: Defines data types and declares routines necessary for group database
12: access, as required by 1003.1-88 (9.2.1).
13:
14: --*/
15:
16: #ifndef _GRP_
17: #define _GRP_
18:
19: #include <sys/types.h>
20:
1.1.1.2 ! root 21: #ifdef __cplusplus
! 22: extern "C" {
! 23: #endif
! 24:
1.1 root 25: struct group {
26: char *gr_name; /* the name of the group */
27: gid_t gr_gid; /* the numerical group ID */
28: char **gr_mem; /* null-terminated vector of pointers*/
29: /* to the individual member names*/
30: };
31:
32: struct group * _CRTAPI1 getgrgid(gid_t);
33: struct group * _CRTAPI1 getgrnam(const char *);
34:
1.1.1.2 ! root 35: #ifdef __cplusplus
! 36: }
! 37: #endif
! 38:
1.1 root 39: #endif /* _GRP_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.