Writes a record to a file.
#include <stdio.h>
int decc$record_write (FILE *fp, void *buffer,
int nbytes);
The decc$record_write function is functionally equivalent to the write function, except that the first argument is a file pointer, not a file descriptor.
| x | The number of bytes written. |
| -1 | Indicates errors, including undefined file descriptors, illegal buffer addresses, and physical I/O errors. |