home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!zrz.tu-berlin.de!math.fu-berlin.de!Sirius.dfn.de!chx400!bernina!wild
- From: wild@nessie.cs.id.ethz.ch (Markus Wild)
- Subject: Re: Emulating UNIX pipes on Amiga (GCC?)
- Message-ID: <1992Aug19.210033.15535@bernina.ethz.ch>
- Sender: news@bernina.ethz.ch (USENET News System)
- Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
- References: <KENTD.92Aug19091130@zappa.FtCollins.NCR.com>
- Date: Wed, 19 Aug 1992 21:00:33 GMT
- Lines: 30
-
- In article <KENTD.92Aug19091130@zappa.FtCollins.NCR.com> Kent.Dalton@FtCollinsCO.NCR.com writes:
- >
- >Does anybody know how Amiga GCC 2.1/ixemlib implements pipes? I am
-
- Yes I do actually ;-)
-
- >porting a program which extensively uses pipes and the file handles
- >provided by the GCC popen function are behaving like they are pointed at
- >/dev/null. Does it even work at all?
-
- Try 2.2.2. Pipes have changed radically in the meantime. They're now
- completely internal (ringbuffers ;-)), generate nice SIGPIPE signals, so
- should be as close to unix as you probably can get. 2.2.2 also comes
- with ixpipe-handler, that is able to turn an ixemul filedescriptor into
- an AmigaDOS filehandle. This was missing before, you just ended up with
- a nil: filehandle if the popen()d program didn't know about the ixemul
- execve() entry vector.
-
- >Looking at the source it looks like the straight Berkeley code.
-
- It is;-)
-
- -Markus
-
-
-
- --
- Markus M. Wild - wild@nessie.cs.id.ethz.ch | wild@amiga.physik.unizh.ch
- Vital papers will demonstrate their vitality by spontaneously moving
- from where you left them to where you can't find them.
-