sat_write_filehdr(3)

sat_write_filehdr, sat_close_filehdr - write audit file header, write close time to audit file header

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

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);

DESCRIPTION
     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 .

ERRORS
     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.

RETURN VALUE
     A return value of -1 indicates an error and errno is set to indicate the
     error.

SEE ALSO
     satd(1m), satoff(2), saton(2), satstate(2), satwrite(2)

ORIGIN
     Silicon Graphics, Inc.