Includes for syslog()
yuripv at yuripv.net
Thu Dec 6 18:20:04 UTC 2018
Steve O'Hara-Smith wrote:
> On Sun, 25 Nov 2018 11:40:40 -0600
> Brian Wood <woodbrian77 at gmail.com> wrote:
>> This page
>> #include <syslog.h>
>> #include <stdarg.h>
>> as includes on a FreeBSD system. On Linux there's
>> no mention of stdarg.h. I was wondering if stdarg.h
>> is only needed on FreeBSD if you call vsyslog() and
> That's correct, nothing about syslog needs you to include stdarg,
> but you'll need the macros in there if you want to call vsyslog.
Thanks for noticing it, should be fixed in r341639.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions