logWriterIsJournald

Check whether the given @output_fd file descriptor is a connection to the systemd journal, or something else (like a log file or stdout or stderr).

Invalid file descriptors are accepted and return false, which allows for the following construct without needing any additional error handling: | is_journald = g_log_writer_is_journald (fileno (stderr)); |

Return

true if @output_fd points to the journal, false otherwise

Since

2.50

Parameters

outputFd

output file descriptor to check