]> git.saurik.com Git - apple/libc.git/blobdiff - include/grp.h
Libc-320.tar.gz
[apple/libc.git] / include / grp.h
index abbc34e4cd52456b339033f9281a178ba3b549da..6d8d29395d95418249ef93198249fbf04804bc38 100644 (file)
@@ -79,16 +79,19 @@ struct group {
 #include <sys/cdefs.h>
 
 __BEGIN_DECLS
-struct group *getgrgid __P((gid_t));
-struct group *getgrnam __P((const char *));
-int getgrgid_r __P((gid_t, struct group *, char *, size_t, struct group **));
-int getgrnam_r __P((const char *, struct group *, char *, size_t, struct group **));
+struct group *getgrgid(gid_t);
+struct group *getgrnam(const char *);
+int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
+int getgrnam_r(const char *, struct group *, char *, size_t, struct group **);
 #ifndef _POSIX_SOURCE
-struct group *getgrent __P((void));
-int setgrent __P((void));
-void endgrent __P((void));
-void setgrfile __P((const char *));
-int setgroupent __P((int));
+struct group *getgrent(void);
+#ifndef _XOPEN_SOURCE
+char *group_from_gid(gid_t, int);
+#endif
+int setgrent(void);
+void endgrent(void);
+void setgrfile(const char *);
+int setgroupent(int);
 #endif
 __END_DECLS