[systemd-devel] sd_journal_send non-blocking call

Vaibhav Dahiya vdahiya at ncsu.edu
Thu Jul 18 00:53:04 UTC 2019


Hello,

I am using sd_journal_send api() api call to log messages on syslog server. I see that this uses
sendmsg(fd, &mh, MSG_NOSIGNAL) call. 
Is there a provision of passing MSG_DONTWAIT flag to this. 
or else have a separate api like sd_journal_send_non_blocking(). 
I want to use this call in an application where I cant make a blocking call for logging. 

Regards

Sent from Mail for Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190717/59b1cfa0/attachment.html>


More information about the systemd-devel mailing list