home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!waikato.ac.nz!aukuni.ac.nz!ecmtwhk
- Newsgroups: comp.unix.programmer
- Subject: Re: FIFOs vs. Stdio
- Message-ID: <1992Sep6.012635.14588@ccu1.aukuni.ac.nz>
- From: ecmtwhk@ccu1.aukuni.ac.nz (Thomas Koenig)
- Date: Sun, 6 Sep 1992 01:26:35 GMT
- References: <Bu4FGF.8C2@dcs.glasgow.ac.uk>
- Organization: University of Auckland, New Zealand.
- Lines: 14
-
- sinclair@dcs.glasgow.ac.uk (Duncan Sinclair) writes:
-
- >Is it reasonable to fopen a fifo with mode "a", and expect it to work?
- [...]
- >Anyhow, FYI, SunOs 4.1.1 doesn't allow it, because stdio gets
- >an illegal seek as it tries to lseek to the end of the pipe.
-
- Same problem with IRIX 4.0.5, a SVR3 deviate. The strange thing is that
- fdopen() actually works with "a", even if the file handle describes a
- pipe.
- --
- Thomas Koenig, ecmtwhk@ccu1.aukuni.ac.nz, ib09@rz.uni-karlsruhe.de
- The joy of engineering is to find a straight line on a double logarithmic
- diagram.
-