fix prototypes/signature for setgroups, etc.
This commit is contained in:
parent
0f5b43550c
commit
3f44f298e4
3 changed files with 8 additions and 2 deletions
|
|
@ -28,6 +28,12 @@ struct group *getgrent(void);
|
|||
void endgrent(void);
|
||||
void setgrent(void);
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
int getgrouplist(const char *, gid_t, gid_t *, int *);
|
||||
int setgroups(size_t, const gid_t *);
|
||||
int initgroups(const char *, gid_t);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue