summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/posix/grp.h
blob: a7801dcea3a00d8596c65f2fcf16bf6ad010fcf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*++

Copyright (c) 1992-1996  Microsoft Corporation

Module Name:

	grp.h

Abstract:

	Defines data types and declares routines necessary for group database
	access, as required by 1003.1-88 (9.2.1).

--*/

#ifndef _GRP_
#define _GRP_

#include <sys/types.h>

#ifdef __cplusplus
extern "C" {
#endif

struct group {
	char *gr_name;			/* the name of the group	*/
	gid_t gr_gid;			/* the numerical group ID	*/
	char **gr_mem;			/* null-terminated vector of pointers*/
					/*   to the individual member names*/
};

struct group * _CRTAPI1 getgrgid(gid_t);
struct group * _CRTAPI1 getgrnam(const char *);

#ifdef __cplusplus
}
#endif

#endif	/* _GRP_ */