[APUE2nd学习笔记]Ch6. System Data Files and Information
trrrr 2006-04-05 10:14:22 /etc/passwd, finger(1)
getpwuid, getpwnam
getpwent, setpwent, endpwent
/etc/shadow
getspnam
getspent, setspent, endspent
/etc/group
getgrgid, getgrnam
getgrent, setgrent, endgrent
supplementary group ID: required feature of POSIX.1
/etc/hosts, /etc/networks, /etc/protocols, /etc/services (p170)
/var/run/utmp: current login users
/var/log/wtmp: all logins and logouts
who(1), last(1)
uname, gethostname, hostname(1)
time(second), gettimeofday(microsecond)
gmtime, localtime, mktime, asctime, ctime, strftime (p174)