Function Reference
— Loadable Function: pw_struct = getpwuid (uid).

Return a structure containing the first entry from the password database with the user ID uid. If the user ID does not exist in the database, getpwuid returns 0.