vax io
Burkhard Burow
burow at physics.utoronto.ca
Sat Jun 2 19:30:39 AEST 1990
My problem reduces to the following:
I have a file of binary data that I read into a program thru stdio,
the program modifies it and spits out binary data onto stdout.
I copied the file of data from a unix box, where the program works fine,
and on the vax my program reads in the data file correctly.
BUT when I output the data I get about 1 byte extra into my file per
original 128 bytes if I out put using putw or 1 extra per 1 original byte
if I use write. I assume this extra stuff VAX record crap.
If I use this output as input, the old extra crap is taken as data,
and new extra is added in the same proportion as previously.
i.e. HOW DO I GET VAX TO HANDLE STDIO AS A STREAM OF DATA?
OR HOW DO I GET IT TO FORGET ALL THIS RECORD CRAP?
Please e-reply, I'll post a summary if requested.
Thanks in advance if my e-thanks bounce.
burkhard
More information about the Comp.lang.c
mailing list