How can I write an FPIPE() ?????

David McKellar djm at dmntor.UUCP
Fri Feb 8 07:03:02 AEST 1991


Quick description:

	I know all about pipe() and popen() but I want a fpipe().
	AND I can't figure out how to do it!!!

More detailed:

	pipe() returns those int file descriptors so I can't
	use fprintf().  (sprintf() followed by write() is clumbsy!)

	popen() returns type FILE so I can use fprintf() but
	it calls sh so an extra process is used.

	What I want is an fpipe() that does exactly the same as pipe
	but returns type FILE.  Possible ?

Please e-mail me as well as posting.
-- 
Dave McKellar
UUCP: djm at dmntor.UUCP 
UUCP bang: ...!uunet!jtsv16!geac!dmntor!djm
BITNET: djm%dmntor.UUCP at UWOCC1 (I think)



More information about the Comp.unix.wizards mailing list