sat_write_filehdr(3)sat_write_filehdr(3)NAME
sat_write_filehdr, sat_close_filehdr - write audit file header, write
close time to audit file header
C SYNOPSIS
#include <sat.h>
int sat_write_filehdr (int fd);
int sat_close_filehdr (int fd);
DESCRIPTIONsat_write_filehdr writes an audit file header to the file referenced by
fd . sat_close_filehdr writes out the close time to the audit file
referenced by fd .
ERRORSsat_write_filehdr will fail if the file cannot be written.
sat_close_filehdr will fail if the file cannot be written, or if the
audit header is malformed.
RETURN VALUE
A return value of -1 indicates an error and errno is set to indicate the
error.
SEE ALSOsatd(1m), satoff(2), saton(2), satstate(2), satwrite(2)ORIGIN
Silicon Graphics, Inc.
Page 1