Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/nss/test_endgrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/test_endgrent.c')
-rw-r--r--nss/test_endgrent.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/nss/test_endgrent.c b/nss/test_endgrent.c
new file mode 100644
index 0000000..d5e82bc
--- /dev/null
+++ b/nss/test_endgrent.c
@@ -0,0 +1,9 @@
+#define _GNU_SOURCE
+#include <grp.h>
+
+int main() {
+ setgrent();
+ endgrent();
+ return 0;
+}
+