Update.
[glibc.git] / include / grp.h
blob824b1648c225f95df975e265ad739fe4607fd96b
1 #ifndef _GRP_H
2 #include <grp/grp.h>
4 /* Now define the internal interfaces. */
5 extern int __getgrent_r (struct group *__resultbuf, char *buffer,
6 size_t __buflen, struct group **__result);
7 extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf,
8 char *buffer, size_t __buflen,
9 struct group **__result);
11 /* Search for an entry with a matching group ID. */
12 extern int __getgrgid_r (__gid_t __gid, struct group *__resultbuf,
13 char *__buffer, size_t __buflen,
14 struct group **__result);
16 /* Search for an entry with a matching group name. */
17 extern int __getgrnam_r (__const char *__name, struct group *__resultbuf,
18 char *__buffer, size_t __buflen,
19 struct group **__result);
20 #endif