Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!sranha!anprda!akira From: akira@atson.asahi-np.co.jp (Akira Takiguchi) Newsgroups: comp.unix.questions Subject: Re: A question about read() system call!! Message-ID: <1361@anprda.atson.asahi-np.co.jp> Date: 23 May 91 08:14:18 GMT References: <28398698.26968@maccs.dcss.mcmaster.ca> <690002@hpsciz.sc.hp.com> Reply-To: akira@anprda.atson.asahi-np.co.jp (Akira Takiguchi) Organization: ATSON, Inc. (a subsidiary of the Asahi Shimbun) Lines: 15 In article <690002@hpsciz.sc.hp.com> dougy@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