File:  [WindowsNT SDKs] / mstools / posix / h / grp.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:24:35 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

/*++

Copyright (c) 1992  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_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.