mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 03:27:46 +08:00
* libc/include/grp.h: Don't define setgrfile, group_from_gid and
setgroupent for Cygwin.
This commit is contained in:
parent
807dfb3d4a
commit
84154fcc00
@ -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>
|
2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
|
* libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
|
||||||
|
@ -66,18 +66,24 @@ extern "C" {
|
|||||||
#ifndef __INSIDE_CYGWIN__
|
#ifndef __INSIDE_CYGWIN__
|
||||||
struct group *getgrgid (gid_t);
|
struct group *getgrgid (gid_t);
|
||||||
struct group *getgrnam (const char *);
|
struct group *getgrnam (const char *);
|
||||||
|
#ifndef __CYGWIN__
|
||||||
int getgrnam_r (const char *, struct group *,
|
int getgrnam_r (const char *, struct group *,
|
||||||
char *, size_t, struct group **);
|
char *, size_t, struct group **);
|
||||||
int getgrgid_r (gid_t, struct group *,
|
int getgrgid_r (gid_t, struct group *,
|
||||||
char *, size_t, struct group **);
|
char *, size_t, struct group **);
|
||||||
|
#endif /* !__CYGWIN__ */
|
||||||
#ifndef _POSIX_SOURCE
|
#ifndef _POSIX_SOURCE
|
||||||
struct group *getgrent (void);
|
struct group *getgrent (void);
|
||||||
void setgrent (void);
|
void setgrent (void);
|
||||||
void endgrent (void);
|
void endgrent (void);
|
||||||
|
#ifndef __CYGWIN__
|
||||||
void setgrfile (const char *);
|
void setgrfile (const char *);
|
||||||
|
#endif /* !__CYGWIN__ */
|
||||||
#ifndef _XOPEN_SOURCE
|
#ifndef _XOPEN_SOURCE
|
||||||
|
#ifndef __CYGWIN__
|
||||||
char *group_from_gid (gid_t, int);
|
char *group_from_gid (gid_t, int);
|
||||||
int setgroupent (int);
|
int setgroupent (int);
|
||||||
|
#endif /* !__CYGWIN__ */
|
||||||
int initgroups (const char *, gid_t);
|
int initgroups (const char *, gid_t);
|
||||||
#endif /* !_XOPEN_SOURCE */
|
#endif /* !_XOPEN_SOURCE */
|
||||||
#endif /* !_POSIX_SOURCE */
|
#endif /* !_POSIX_SOURCE */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user