/*[XSI]*/ /* Test whether a basic openlog invocation works. */ #include #include #include "../basic.h" int main(void) { errno = 0; openlog("os-test", LOG_ODELAY, LOG_USER); if ( errno ) err(1, "openlog"); return 0; }