Add prototypes for internal functions __getgrgid_r and __getgrnam_r.
authordrepper <drepper>
Tue, 1 Dec 1998 19:32:31 +0000 (19:32 +0000)
committerdrepper <drepper>
Tue, 1 Dec 1998 19:32:31 +0000 (19:32 +0000)
include/grp.h

index 14be78c..87f6a7b 100644 (file)
@@ -7,4 +7,14 @@ extern int __getgrent_r __P ((struct group *__resultbuf, char *buffer,
 extern int __fgetgrent_r __P ((FILE * __stream, struct group *__resultbuf,
                               char *buffer, size_t __buflen,
                               struct group **__result));
+
+/* Search for an entry with a matching group ID.  */
+extern int __getgrgid_r __P ((__gid_t __gid, struct group *__resultbuf,
+                             char *__buffer, size_t __buflen,
+                             struct group **__result));
+
+/* Search for an entry with a matching group name.  */
+extern int __getgrnam_r __P ((__const char *__name, struct group *__resultbuf,
+                             char *__buffer, size_t __buflen,
+                             struct group **__result));
 #endif