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  au‐
19       dit_open.  rep should be a data structure to put the reply in. block is
20       of type reply_t which is either: GET_REPLY_BLOCKING and  GET_REPLY_NON‐
21       BLOCKING.  peek,  if non-zero, gets the data without dequeueing it from
22       the netlink socket.
23
24

RETURN VALUE

26       This function returns -errno on error, 0 if  error  response  received,
27       and 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