unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 getaudid(2)							 getaudid(2)




 NAME
      getaudid - get the audit ID (aid) for the current process

 SYNOPSIS
      #include <&lt&lt&lt;sys/audit.h>&gt&gt&gt;

      int getaudid(void);

 DESCRIPTION
      getaudid() returns the audit ID (aid) for the current process.  This
      call is restricted to the super-user.

 RETURN VALUE
      Upon successful completion, the audit ID is returned; otherwise, a -1
      is returned.

 ERRORS
      getaudid() fails if the following is true:

      [EPERM]	     The caller is not super-user.

 AUTHOR
      getaudid() was developed by HP.

 SEE ALSO
      setaudid(2).




























 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000