sat_write_filehdr(3) sat_write_filehdr(3)
sat_write_filehdr, sat_close_filehdr - write audit file header, write
close time to audit file header
#include <sat.h>
int sat_write_filehdr (int fd);
int sat_close_filehdr (int fd);
sat_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 .
sat_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.
A return value of -1 indicates an error and errno is set to indicate the
error.
satd(1m), satoff(2), saton(2), satstate(2), satwrite(2)
Silicon Graphics, Inc.
PPPPaaaaggggeeee 1111 [ Back ]
|