Override elf_nacl.xr linker script so that libc_pic.os links correctly
[glibc/nacl-glibc.git] / conform / data / pwd.h-data
blob1267708b98ce30ffca3aff37d285c7d223a64a87
1 #ifndef ISO
2 type {struct passwd}
3 element {struct passwd} {char*} pw_name
4 element {struct passwd} uid_t pw_uid
5 element {struct passwd} gid_t pw_gid
6 element {struct passwd} {char*} pw_dir
7 element {struct passwd} {char*} pw_shell
9 # ifndef POSIX
10 type uid_t
11 type gid_t
12 # endif
14 function {struct passwd*} getpwnam (const char*)
15 function {struct passwd*} getpwuid (uid_t)
16 function int getpwnam_r (const char*, struct passwd*, char*, size_t, struct passwd**)
17 function int getpwuid_r (uid_t, struct passwd*, char*, size_t, struct passwd**)
18 function void endpwent (void)
19 function {struct passwd*} getpwent (void)
20 function void setpwent (void)
22 allow pw_*
23 allow *_t
24 #endif