Reads a record from a file.
#include <stdio.h>
int decc$record_read (FILE *fp, void *buffer, int
nbytes);
The decc$record_read function is functionally equivalent to the read function, except that the first argument is a file pointer, not a file descriptor.
| x | The number of characters read. |
| -1 | Indicates a read error, including physical input errors, illegal buffer addresses, protection violations, undefined file descriptors, and so forth. |