Newsgroups: comp.unix.internals Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!news From: flee@cs.psu.edu (Felix Lee) Subject: Re: Names pipes or UNIX domain sockets? Message-ID: Sender: news@cs.psu.edu (Usenet) Nntp-Posting-Host: dictionopolis.cs.psu.edu Organization: Penn State Computer Science References: <1991Jun15.204226.25191@ms.uky.edu> <2J1C.5B@xds13.ferranti.com> Date: Fri, 21 Jun 1991 17:07:20 GMT Lines: 13 > Can't you open with O_NDELAY or equivalent? Now all we need is a shell syntax for opening with O_NDELAY set. Otherwise it becomes tricky to do things like echo `date` begin >> log if you don't know whether log is a named pipe or not. And you also need shell access to O_SYNC, O_APPEND, O_EXCL, etc. Perhaps rather than file redirection we need an "open" command: echo hello | open -WRONLY,NDELAY,SYNC,APPEND log -- Felix Lee flee@cs.psu.edu