Rev 6099 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6099 | Rev 6536 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | #include |
47 | #include |
48 | #ifdef __CYGWIN__ |
48 | #ifdef __CYGWIN__ |
49 | #include |
49 | #include |
50 | #endif |
50 | #endif |
Line 51... | Line 51... | ||
51 | 51 | ||
52 | #if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) |
52 | #if __BSD_VISIBLE |
53 | #define _PATH_GROUP "/etc/group" |
53 | #define _PATH_GROUP "/etc/group" |
Line 54... | Line 54... | ||
54 | #endif |
54 | #endif |
55 | 55 | ||
Line 65... | Line 65... | ||
65 | #endif |
65 | #endif |
Line 66... | Line 66... | ||
66 | 66 | ||
67 | #ifndef __INSIDE_CYGWIN__ |
67 | #ifndef __INSIDE_CYGWIN__ |
68 | struct group *getgrgid (gid_t); |
68 | struct group *getgrgid (gid_t); |
- | 69 | struct group *getgrnam (const char *); |
|
69 | struct group *getgrnam (const char *); |
70 | #if __MISC_VISIBLE || __POSIX_VISIBLE |
70 | int getgrnam_r (const char *, struct group *, |
71 | int getgrnam_r (const char *, struct group *, |
71 | char *, size_t, struct group **); |
72 | char *, size_t, struct group **); |
72 | int getgrgid_r (gid_t, struct group *, |
73 | int getgrgid_r (gid_t, struct group *, |
- | 74 | char *, size_t, struct group **); |
|
73 | char *, size_t, struct group **); |
75 | #endif /* __MISC_VISIBLE || __POSIX_VISIBLE */ |
74 | #ifndef _POSIX_SOURCE |
76 | #if __MISC_VISIBLE || __XSI_VISIBLE >= 4 |
75 | struct group *getgrent (void); |
77 | struct group *getgrent (void); |
76 | void setgrent (void); |
78 | void setgrent (void); |
77 | void endgrent (void); |
- | |
78 | #ifndef __CYGWIN__ |
- | |
79 | void setgrfile (const char *); |
79 | void endgrent (void); |
80 | #endif /* !__CYGWIN__ */ |
- | |
81 | #ifndef _XOPEN_SOURCE |
80 | #endif /* __MISC_VISIBLE || __XSI_VISIBLE >= 4 */ |
82 | #ifndef __CYGWIN__ |
- | |
83 | char *group_from_gid (gid_t, int); |
- | |
84 | int setgroupent (int); |
- | |
85 | #endif /* !__CYGWIN__ */ |
81 | #if __BSD_VISIBLE |
86 | int initgroups (const char *, gid_t); |
- | |
87 | #endif /* !_XOPEN_SOURCE */ |
82 | int initgroups (const char *, gid_t); |
88 | #endif /* !_POSIX_SOURCE */ |
83 | #endif /* __BSD_VISIBLE */ |
Line 89... | Line 84... | ||
89 | #endif /* !__INSIDE_CYGWIN__ */ |
84 | #endif /* !__INSIDE_CYGWIN__ */ |
90 | 85 | ||
91 | #ifdef __cplusplus |
86 | #ifdef __cplusplus |