From 628a0aa1523e7160dac986d7988fcc08375cfd88 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 1 Dec 1998 19:35:00 +0000 Subject: Update. 1998-11-29 1998 H.J. Lu * libio/genops.c (_IO_unbuffer_write): Renamed from _IO_unbuffer_all. (_IO_cleanup): Call _IO_unbuffer_write instead of _IO_unbuffer_all. 1998-12-01 Ulrich Drepper * intl/localealias.c: Use *_unlocked version of stdio function if _LIBC_REENTRANT is defined, not _LIBC. 1998-12-01 Andreas Jaeger * include/grp.h: Add prototypes for internal functions __getgrgid_r and __getgrnam_r. * inet/herrno.c: Include for prototype, undef h_errno. * resolv/nsap_addr.c: Include for inet_nsap_addr and inet_nsap_ntoa prototypes. * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option to gcc to have it find the correct system header. Patch by Maciej W. Rozycki . Reported by Maciej W. Rozycki . --- include/grp.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/grp.h') diff --git a/include/grp.h b/include/grp.h index 14be78cf00..87f6a7bec2 100644 --- a/include/grp.h +++ b/include/grp.h @@ -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 -- cgit v1.2.3