PUTREC - output unprocessed record to a sequential file.

Alternate Entry Name: .PTREC

Usage:

B:
   status = putrec( [ unit, ] outvector );
C:
   int putrec( [FILE *unit,] const void *outvector);

Where:

unit
is the number of an open output unit. If "unit" is not specified, the default is the current write unit.
outvector
points to the vector of data to be written out.
status
is zero if the write is successful. Otherwise, a negative "status" is returned.

Description:

PUTREC places the record in "outvector" directly into the output file. "outvector" must have a valid record control word as its first element. PUTREC may not be applied to a terminal.

Copyright © 1996, Thinkage Ltd.