* libc/include/grp.h: Don't define setgrfile, group_from_gid and

setgroupent for Cygwin.
This commit is contained in:
Corinna Vinschen 2003-09-09 13:14:50 +00:00
parent 807dfb3d4a
commit 84154fcc00
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-09-09 Corinna Vinschen <corinna@vinschen.de>
* libc/include/grp.h: Don't define setgrfile, group_from_gid and
setgroupent for Cygwin.
2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p

View File

@ -66,18 +66,24 @@ 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);
void endgrent (void);
#ifndef __CYGWIN__
void setgrfile (const char *);
#endif /* !__CYGWIN__ */
#ifndef _XOPEN_SOURCE
#ifndef __CYGWIN__
char *group_from_gid (gid_t, int);
int setgroupent (int);
#endif /* !__CYGWIN__ */
int initgroups (const char *, gid_t);
#endif /* !_XOPEN_SOURCE */
#endif /* !_POSIX_SOURCE */