summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/posix/grp.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/posix/grp.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'public/sdk/inc/posix/grp.h')
-rw-r--r--public/sdk/inc/posix/grp.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/public/sdk/inc/posix/grp.h b/public/sdk/inc/posix/grp.h
new file mode 100644
index 000000000..a7801dcea
--- /dev/null
+++ b/public/sdk/inc/posix/grp.h
@@ -0,0 +1,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_ */