
Unix/Linux
文章平均质量分 51
fastso
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
open system call (原创)
open 是为了得到file descriptor(文件记述子)的system call。 open system call有2个或是3个参数。 第一参数是被opening的file的pass(路径)。 第二参数是表示open方法的flags(标识),有以下几种类型: O_RDONLY file read only(读取专用)原创 2005-06-17 01:57:00 · 1583 阅读 · 0 评论 -
pipe system call(原创)
使用unix的时候,比如说在C shell上输入[last|more -10],就会从[more -10]的输入给出[last]的输出结果。unix这样的机能就叫做pipe。 为了实现pipe,先用pipe system call做出pipe用的file descriptor(文件描述符)。为了解释pipe system call的用法,给出了以下的简单program:原创 2005-06-18 22:42:00 · 1532 阅读 · 0 评论