]>
git.ipfire.org Git - thirdparty/systemd.git/blob - klibc_fixups.h
7 #define WTERMSIG(status) ((status) & 0x7f)
8 #define WEXITSTATUS(status) (((status) & 0xff00) >> 8)
9 #define WIFEXITED(status) (WTERMSIG(status) == 0)
13 char *gr_name
; /* group name */
14 char *gr_passwd
; /* group password */
15 gid_t gr_gid
; /* group id */
16 char **gr_mem
; /* group members */
19 static inline struct group
*getgrnam(const char *name
)
26 char *pw_name
; /* user name */
27 char *pw_passwd
; /* user password */
28 uid_t pw_uid
; /* user id */
29 gid_t pw_gid
; /* group id */
30 char *pw_gecos
; /* real name */
31 char *pw_dir
; /* home directory */
32 char *pw_shell
; /* shell program */
35 static inline struct passwd
*getpwnam(const char *name
)