sizeof(buf)); if (len == -1 && errno != EAGAIN) { perror("read"); exit(EXIT_FAILURE); } /* Check ... sizeof(path) - 1); if (path_len == -1) { perror("readlink"); exit(EXIT_FAILURE)…SOCK_SEQPACKET, 0); if (connection_socket == -1) { perror("socket"); exit(EXIT_FAILURE); } /* * For portability clear ... sockaddr *) &name, sizeof(name)); if (ret == -1) { perror(…Landlock was not enabled at boot time. */ perror("Unable to use Landlock"); return; /* Graceful fallback ... sizeof(attr), 0); if (ruleset_fd == -1) { perror("Failed to create a ru…epollfd = epoll_create1(0); if (epollfd == -1) { perror("epoll_create1"); exit(EXIT_FAILURE); } ev.events = EPOLLIN ... EPOLL_CTL_ADD, listen_sock, &ev) == -1) { perror("epoll_ctl:…sizeof(buf)); if (len == -1 && errno != EAGAIN) { perror("read"); exit(EXIT_FAILURE); } /* If the nonblocking ... inotify_init1(IN_NONBLOCK); if (fd == -1) { perror("inotify_init1"…errno == EINTR) continue; perror("sendmsg"); return -1; } return 0; } } static int print_diag(const struct ... errno == EINTR) continue; perror("recvmsg"); return -1; } if (ret == …read operations */ #define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); } while (0) struct ioRequest ... ALLDONE) printf("I/O all done\n"); else perror("aio_cancel"); } } got…system journal for reading sd_journal_perror (3) — Submit log entries to the journal ... journal_perror_with_location (3) — Submit log entries to the journal sd_journal_previousmkstemp() mktime() nftw() opendir() openlog() pathconf() pclose() perror() popen() posix_fadvise() posix_fallocate() posix_madvise