
Linux基础编程学习笔记
hiyounger
这个作者很懒,什么都没留下…
展开
-
Linux文件与目录操作函数
目录操作: getcwd获得当前工作目录, pathconf获得系统目录最大长度, chdir、fchdir更改当前工作目录, mkdir、rmdir创建和删除目录。文件操作 : stat、fstat、lstat获得文件信息, chmod、fchmod修改文件权限, chown、fchown、lchown修改文件的拥有者, umask用于修改原创 2011-06-19 16:46:00 · 678 阅读 · 0 评论 -
Linux文件I/O操作函数
open打开文件或设备close关闭文件或设备creat创建一个文件read读文件write写文件lseek改变文件读写操作位置相对与文件起始位置的偏移值dup、dup2用于复制指定的文件描述符 参考文献:《Linux编程技术详解》 杜华 人民邮电出版社 2007原创 2011-06-19 17:11:00 · 539 阅读 · 0 评论 -
LInux 的man
1、man的分页————原文说明———The table below shows the section numbers of the manual followed by the types of pages they contain. 1 Executable programs or shell commands 2 System calls (原创 2011-06-19 14:46:00 · 906 阅读 · 0 评论