Home
last modified time | relevance | path

Searched refs:errfd (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/journal/ !
Dcat.c125 _cleanup_close_ int outfd = -1, errfd = -1, saved_stderr = -1; in run() local
139 errfd = sd_journal_stream_fd(arg_identifier, arg_stderr_priority, arg_level_prefix); in run()
140 if (errfd < 0) in run()
141 return log_error_errno(errfd, "Failed to create stream fd: %m"); in run()
146 …r = rearrange_stdio(STDIN_FILENO, outfd, errfd < 0 ? outfd : errfd); /* Invalidates fd on success … in run()
148 TAKE_FD(errfd); in run()