BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / commit / 03048a95d88cc7a78171393371f5c22a0250a014 / include / grp.h

// Related

OrionLibC

Barry Importing existing Orion LibC 03048a9 (2 years, 2 months ago)
diff --git a/include/grp.h b/include/grp.h
new file mode 100644
index 0000000..a6e07d6
--- /dev/null
+++ b/include/grp.h
@@ -0,0 +1,14 @@
+#ifndef _GRP_H
+#define _GRP_H
+
+/* Structure of a group entry */
+typedef struct group {
+	char *name;
+	gid_t gid;
+	char **members;
+} Group;
+
+Group *getgrname(const char *name);
+Group *getgrgid(gid_t gid);
+
+#endif