1998-09-06 23:45:24 +00:00
|
|
|
#ifndef _GRP_H
|
1995-02-18 01:27:10 +00:00
|
|
|
#include <grp/grp.h>
|
1998-08-09 17:39:48 +00:00
|
|
|
|
|
|
|
/* Now define the internal interfaces. */
|
|
|
|
extern int __getgrent_r __P ((struct group *__resultbuf, char *buffer,
|
|
|
|
size_t __buflen, struct group **__result));
|
|
|
|
extern int __fgetgrent_r __P ((FILE * __stream, struct group *__resultbuf,
|
|
|
|
char *buffer, size_t __buflen,
|
|
|
|
struct group **__result));
|
1998-12-01 19:35:00 +00:00
|
|
|
|
|
|
|
/* 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));
|
1998-09-06 23:45:24 +00:00
|
|
|
#endif
|