pwd.h

The pwd.h header file declares functions that access the user database through a password structure. The header file also defines the passwd structure.

_POSIX_SOURCE
getpwnam() getpwuid()  
_XOPEN_SOURCE_EXTENDED 1
endpwent() getpwent() setpwent()