* libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.

This commit is contained in:
Corinna Vinschen 2004-05-17 16:06:14 +00:00
parent 68509b303e
commit cf3aae91e2
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-05-17 Corinna Vinschen <corinna@vinschen.de>
* libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead

View File

@ -66,12 +66,10 @@ extern "C" {
#ifndef __INSIDE_CYGWIN__
struct group *getgrgid (gid_t);
struct group *getgrnam (const char *);
#ifndef __CYGWIN__
int getgrnam_r (const char *, struct group *,
char *, size_t, struct group **);
int getgrgid_r (gid_t, struct group *,
char *, size_t, struct group **);
#endif /* !__CYGWIN__ */
#ifndef _POSIX_SOURCE
struct group *getgrent (void);
void setgrent (void);