近来读书,做些笔记,来年好翻翻。
本文所使用的操作系统为 CentOS7.0,如果不想装双系统的可以装虚拟机,可以参考这里:
http://blog.csdn.net/alex_my/article/details/38142229
当然啦,直接装个再好不过了。
1 链接:http://blog.csdn.net/alex_my/article/details/39079053
涉及主题:文件描述符,系统资源限制,文件相关,close-on-exec,
涉及函数:getrlimit, setrlimit
lseek, open, creat, close, pthread, pwrite, dup, dup2, dup3
fcntl, opctl
2 链接:http://blog.csdn.net/alex_my/article/details/39184461
涉及主题:文件与目录,文件类型及判断,real user/group ID, effective user/group ID
文件权限,文件hole,文件截断,符号链接
涉及函数:stat, fstat, lstat, fstatat
access, faccessat, chmod, fchmod, fchmodat
truncate, ftruncate
symlink, symlinkat, readlink, readlinkat
3 链接: http://blog.csdn.net/alex_my/article/details/39250563
涉及主题:标准流相关,FILE,二进制I/O,格式化
涉及函数:fwide, setbuf, setvbuf
fopen, fdopen, freopen
getc, fgetc, getchar, putc, fputc, putchar
gets, fgets, fputs, puts
fread, fwrite
dprintf, vdprintf, printf, fprintf, sprintf, snprintf
vprintf, vfprintf, vsprintf, vsnprintf
scanf, fscanf, sscanf
vscanf, vsscanf, vfscanf
fmemopen, open_memstream, open_wmemstream
4 链接:http://blog.csdn.net/alex_my/article/details/39294513
涉及主题:password file,shadow passwords,group file,本地主机名
涉及函数:getpwnam, getpwuid, getpwnam_r, getpwuid_r
getpwent, setpwent, endpwent
getspnam, getspent, setspent, endspent
fgetspent, sgetspent, putspent
lckpwdf, ulckpwdf
getgrnam, getgrgid, getgrnam_r, getgrgid_r
gethostname
5 链接:http://blog.csdn.net/alex_my/article/details/39295653
涉及主题:日期与时间
涉及函数:time, clock_getres, clock_gettime, clock_settime
gettimeofday
asctime, asctime_r
ctime, ctime_r
gmtime, gmtime_r
localtime, localtime_r
mktime
strftime, strptime
6 链接:http://blog.csdn.net/alex_my/article/details/39318607
涉及主题:进程退出
涉及函数:exit, _exit, _Exit, atexit
7 链接:http://blog.csdn.net/alex_my/article/details/39345931
涉及主题:进程ID,子进程,进程退出处理,孤儿进程,僵尸进程
涉及函数:getpid, getppid, getuid, geteuid, getgid, getegid
fork, vfork
wait, waitpid, waitid
8 链接:http://blog.csdn.net/alex_my/article/details/39374447
涉及主题:exec, 更改user IDs 和gourp IDs
涉及函数:exec函数簇,setuid, setgid
9 链接:http://blog.csdn.net/alex_my/article/details/39494129
涉及主题:信号概念,信号操作函数
涉及函数:signal, sigemptyset, sigfillset, sigaddset, sigdelset
sigismember, sigprocmask, sigpending, sigaction