A question about read() system call!!
Akira Takiguchi
akira at atson.asahi-np.co.jp
Thu May 23 18:14:18 AEST 1991
In article <690002 at hpsciz.sc.hp.com> dougy at hpsciz.sc.hp.com (Doug Yip) writes:
[noblocking read(2)]
>If the file is already open, you can do a fcntl(fd,F_SETFL,O_NDELAY).
ok.
>If the file is not open yet, you can specify the O_NDELAY option when you
>open the file.
This has nothing to do with the problem. It makes open(2) non-blocking
but not read(2).
--
| Akira Takiguchi at ATSON, Inc. (a subsidiary of the Asahi Shimbun)
| WAKO GINZA bldg. 8-10-4 Ginza Chuo-ku Tokyo 104 Japan
| Phone +81 3 3289 7051 Fax +81 3 3289 7066 SORRY, EMAIL NOT AVAILABLE
More information about the Comp.unix.questions
mailing list