Full definintion
This commit is contained in:
parent
30b87553c9
commit
0402e546c2
1 changed files with 21 additions and 0 deletions
21
include/grp.h
Normal file
21
include/grp.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#ifndef _GRP_H
|
||||
#define _GRP_H
|
||||
|
||||
#include <types/gid_t.h>
|
||||
#include <types/size_t.h>
|
||||
|
||||
struct group {
|
||||
char * gr_name;
|
||||
gid_t gr_gid;
|
||||
char ** gr_mem;
|
||||
};
|
||||
|
||||
void endgrent(void);
|
||||
struct group * getgrent(void);
|
||||
struct group * getgrgid(gid_t);
|
||||
int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
|
||||
struct group * getgrnam(const char *);
|
||||
int getgrnam_r(const char *, struct group *, char *, size_t, struct group **);
|
||||
void setgrent(void);
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue