OpenCloudOS-Kernel/tools/build/feature/test-libaudit.c

11 lines
166 B
C

#include <libaudit.h>
extern int printf(const char *format, ...);
int main(void)
{
printf("error message: %s\n", audit_errno_to_name(0));
return audit_open();
}