Saves the specified online record to disk. This function is called by the
system. Under any normal circumstances, you won't need to call it.
Parameters:
onlrec - Pointer to a onlinerec_t holding the online record to
save.
Returns:
Zero if the record could not be saved, in which case, errno
will be set to the error reported by the system. One if the record was
written successfully.