.\" -*- coding: UTF-8 -*- .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH AUDIT_GET_REPLY 3 "Октябрь 2006" "Red Hat" "Linux Audit API" .SH НАИМЕНОВАНИЕ audit_get_reply \- получение ответа системы аудита .SH ОБЗОР .nf \fB#include \fP .PP \fBint audit_get_reply(int \fP\fIfd\fP\fB, struct audit_reply *\fP\fIrep\fP\fB, reply_t \fP\fIblock\fP\fB, int \fP\fIpeek\fP\fB);"\fP .fi .SH ОПИСАНИЕ This function gets the next data packet sent on the audit netlink socket. This function is usually called after sending a command to the audit system. \fIfd\fP should be an open file descriptor returned by audit_open. \fIrep\fP should be a data structure to put the reply in. \fIblock\fP is of type reply_t which is either: GET_REPLY_BLOCKING and GET_REPLY_NONBLOCKING. \fIpeek\fP, if non\-zero, gets the data without dequeueing it from the netlink socket. .SH "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" Эта функция возвращает \-1 при ошибке, 0 если получен ошибочный ответ, и положительное значение в случае успеха. .SH "СМОТРИТЕ ТАКЖЕ" \fBaudit_open\fP(3). .SH АВТОРЫ Steve Grubb .PP .SH ПЕРЕВОД Русский перевод этой страницы руководства разработал(и) Nataliya Smirnova . .PP Этот перевод является свободной программной документацией; он распространяется на условиях общедоступной лицензии GNU (GNU General Public License - GPL, .UR https://www.gnu.org/licenses/gpl-3.0.html .UE версии 3 или более поздней) в отношении авторского права, но БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ. .PP Если вы обнаружите какие-либо ошибки в переводе этой страницы руководства, пожалуйста, сообщите об этом разработчику(ам) по его(их) адресу(ам) электронной почты или по адресу .MT списка рассылки русских переводчиков .ME .