add a missing section header table index conversion
[tangerine.git] / compiler / clib / include / grp.h
blob87e7b3e77f880d24c212b33a91ef0dcfb7c2100a
1 #ifndef _GRP_H_
2 #define _GRP_H_
4 /*
5 Copyright © 2003-2004, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <sys/_types.h>
10 #include <sys/cdefs.h>
13 Implementation Note:
14 You do not need to define size_t in this file. (POSIX)
17 #ifndef __AROS_GID_T_DECLARED
18 #define __AROS_GID_T_DECLARED
19 typedef __gid_t gid_t;
20 #endif
22 struct group
24 char *gr_name; /* Group name */
25 char *gr_passwd; /* Group password */
26 gid_t gr_gid; /* Group ID */
27 char **gr_mem; /* Group members */
30 __BEGIN_DECLS
32 struct group *getgrgid(gid_t gid);
33 struct group *getgrnam(const char *name);
35 #if __POSIX_VISIBLE >= 200112
36 /* NOTIMPL int getgrgid_r(gid_t gid, struct group *grp, char *buffer, size_t bufsize,
37 struct group **result); */
38 /* NOTIMPL int getgrname_r(const char *name, struct group *grp, char *buffer,
39 size_t bufsize, struct group **resule); */
40 #endif
42 #if __XSI_VISIBLE
43 struct group *getgrent(void);
44 void endgrent(void);
45 void setgrent(void);
46 #endif
48 __END_DECLS
50 #endif /* _GRP_H_ */