Names pipes or UNIX domain sockets?

Felix Lee flee at cs.psu.edu
Sat Jun 22 03:07:20 AEST 1991


> 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 at cs.psu.edu



More information about the Comp.unix.internals mailing list