Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!psuvax1!flee From: flee@shire.cs.psu.edu (Felix Lee) Newsgroups: comp.unix.wizards Subject: Re: getcwd() and friends. Message-ID: Date: 17 Apr 89 23:51:19 GMT References: <7882@june.cs.washington.edu> <10671@bloom-beacon.MIT.EDU> Sender: news@psuvax1.cs.psu.edu Organization: Penn State University Computer Science Lines: 13 In-reply-to: jfc@athena.mit.edu's message of 17 Apr 89 18:43:01 GMT In article <10671@bloom-beacon.MIT.EDU>, jfc@athena.mit.edu (John F Carr) writes: >Suppose you are using NFS over a slow network? [...] You can't >guarantee proper error reporting without blocking. Let me clarify. What I meant by "blocking" on open() is the blocking affected by the Berkeley O_NDELAY flag. open() will always wait for access to the inode (or vnode). O_NDELAY only affects opening tty devices and FIFOs. (In the Berkeley derivatives I'm familiar with). (Is it time to change the Subject: yet?) -- Felix Lee flee@shire.cs.psu.edu *!psuvax1!shire!flee