Add getgroups and setgroups (#619)

This commit is contained in:
Gavin Hayes 2022-09-18 05:48:53 -04:00 committed by GitHub
parent 3665232d66
commit 4c40c500b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 280 additions and 29 deletions

View file

@ -43,7 +43,6 @@ void setgrent(void);
struct group *fgetgrent(struct FILE *);
int putgrent(const struct group *, struct FILE *);
int getgrouplist(const char *, gid_t, gid_t *, int *);
int setgroups(size_t, const int32_t *);
int initgroups(const char *, int32_t);
COSMOPOLITAN_C_END_