about summary refs log tree commit diff
path: root/conform/data/grp.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/grp.h-data')
-rw-r--r--conform/data/grp.h-data22
1 files changed, 22 insertions, 0 deletions
diff --git a/conform/data/grp.h-data b/conform/data/grp.h-data
new file mode 100644
index 0000000000..664efb0274
--- /dev/null
+++ b/conform/data/grp.h-data
@@ -0,0 +1,22 @@
+#ifndef ISO
+type {struct group}
+element {struct group} {char*} gr_name
+element {struct group} gid_t gr_gid
+element {struct group} {char**} gr_mem
+
+# ifndef POSIX
+type gid_t
+# endif
+
+function {struct group*} getgrgid (gid_t)
+function {struct group*} getgrnam (const char*)
+# ifndef POSIX
+function int getgrgid_r (gid_t, struct group*, char *, size_t, struct group**)
+function int getgrnam_r (const char *, struct group *, char *, size_t, struct group**)
+function {struct group*} getgrent (void)
+function void endgrent (void)
+function void setgrent (void)
+# endif
+
+allow gr_
+#endif