HELP with pipes in 'C'

Kelly Araiza kelly at LOGICON.ARPA
Wed Jun 14 03:37:14 AEST 1989


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 at LOGICON.ARPA				give them 1 of yours



More information about the Comp.lang.c mailing list