[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)
...全文
134 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
joyself 2006-04-05
  • 打赏
  • 举报
回复
老兄, 这个算得上学习笔记么?

23,116

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧