VMS C & records in files
rja
rja at edison.GE.COM
Wed Aug 17 21:06:52 AEST 1988
I'm not aware of any solution to the problem of VMS file types. The
problem is precisely that VMS is so record-oriented. Even nominal
text files don't work like UNIX. We find that we have to use a loop of
successive calls to read() to fill (for example) a 512 byte buffer
because it gives only 1 record at a time even though you asked for 512
bytes. :-(
UNIX and even MS-DOS will let you read 512 bytes in a chunk so it's VMS
that is brain-damaged in this case.
If anyone hears of a SOLUTION to this problem with VMS C, please e-mail
me the details.
______________________________________________________________________________
rja at edison.GE.COM or ...uunet!virginia!edison!rja
via Internet (preferable) via uucp (if you must)
______________________________________________________________________________
More information about the Comp.lang.c
mailing list