[email protected] wrote:
>
>
> in the glibc documentation it's specified as a void function :
>
> 18.2.2 syslog, vsyslog
>
> The symbols referred to in this section are declared in the file syslog.h.
> — Function: void syslog (int facility_priority, char *format, ...)
So, the first argument is a format string? You should pass "%s" followed
by head->text then, not head->text directly. If head->text contains the
% characters, you will get errors. I do not think fixing this will fix
your issues though.
I have no idea why it fails. Did you try to put a printf as well as the
syslog call to check whether syslog is really called? Are you 100% sure
that you do not close file descriptors when daemonizing your process?
--
Gilles
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help