1AUDIT_GET_REPLY(3)              Linux Audit API             AUDIT_GET_REPLY(3)
2
3
4

NAME

6       audit_get_reply - Get the audit system's reply
7

SYNOPSIS

9       #include <libaudit.h>
10
11       int audit_get_reply(int fd, struct audit_reply *rep, reply_t block, int
12       peek);
13
14

DESCRIPTION

16       This function gets the next data  packet  sent  on  the  audit  netlink
17       socket.  This function is usually called after sending a command to the
18       audit system.  fd  should  be  an  open  file  descriptor  returned  by
19       audit_open.  rep  should be a data structure to put the reply in. block
20       is  of  type  reply_t   which   is   either:   GET_REPLY_BLOCKING   and
21       GET_REPLY_NONBLOCKING.   peek,  if  non-zero,  gets  the  data  without
22       dequeueing it from the netlink socket.
23
24

RETURN VALUE

26       This function returns -1 on error, 0 if error  response  received,  and
27       positive value on success.
28
29

SEE ALSO

31       audit_open(3).
32
33

AUTHOR

35       Steve Grubb
36
37
38
39Red Hat                            Oct 2006                 AUDIT_GET_REPLY(3)
Impressum