[comp.lang.c] HELP with pipes in 'C'

kelly@LOGICON.ARPA (Kelly Araiza) (06/14/89)

I need immediate help with pipes in 'C' under VAX / VMS 4.7 !!!

The VAX C Run-time Library Reference Manual, Pg 10-12 states:
"A mailbox under VMS is a record oriented file with no carriage 
control attributes.  It is fully buffered by default in the VAX C 
Run-time Library."

Question: How can I change the default to make it not buffered?

I tried the following which gives me "bad file number" at run time:
	int pipe_ary[2];
	int bufsize = 1;
	pipe (pipe_ary, O_RDONLY, bufsize)
		
Please e-mail your suggestions directly to me.
Thank you in advance.

                           Kelly ;-)

Disclaimer: These thoughts/ideas/wishes are my own.	If you see someone
UUCP: {nosc,ucsd}!logicon.arpa!kelly			who needs a smile,
Internet: kelly@LOGICON.ARPA				give them 1 of yours