mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
628a0aa152
1998-11-29 1998 H.J. Lu <hjl@gnu.org> * 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 <drepper@cygnus.com> * intl/localealias.c: Use *_unlocked version of stdio function if _LIBC_REENTRANT is defined, not _LIBC. 1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * include/grp.h: Add prototypes for internal functions __getgrgid_r and __getgrnam_r. * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno. * resolv/nsap_addr.c: Include <arpa/inet.h> 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 <macro@ds2.pg.gda.pl>. Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
21 lines
781 B
C
21 lines
781 B
C
#ifndef _GRP_H
|
|
#include <grp/grp.h>
|
|
|
|
/* 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));
|
|
|
|
/* 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
|