int getacdir(dir, len) char *dir; int len;
int getacmin(min_val) int *min_val;
int getacflg(auditstring, len) char *auditstring; int len;
void setac()
void endac()
When first called, getacdir() provides information about the first audit directory in the audit_control file; thereafter, it returns the next directory in the file. Successive calls list all the directories listed in audit_control.5 The parameter len specifies the length of the buffer dir . On return, dir points to the directory entry.
getacmin() reads the minimum value from the audit_control file and returns the value in min_val. The minimum value specifies how full the file system to which the audit files are being written can get before the script audit_warn is invoked.
getacflg() reads the system audit value from the audit_control file and returns the value in auditstring. The parameter len specifies the length of the buffer auditstring.
Calling setac rewinds the audit_control file to allow repeated searches.
Calling endac closes the audit_control file when processing is complete.
getacdir(), getacflg() and getacmin() return:
getacmin() and getacflg() return:
getacdir() returns:
These functions return:
getacdir() and getacflg() return:
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97