Includes for syslog()

Brian Wood woodbrian77 at gmail.com
Sun Nov 25 17:36:55 UTC 2018


Shalom

This page
https://www.unix.com/man-page/freebsd/3/openlog/

lists
#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
the documentation just doesn't mention that.  From
what I can tell, stdarg.h isn't needed on FreeBSD if
I only call openlog() and syslog().

Also today is Small Business Sunday.  I have an
offer to help someone who is willing to use my
software here:  http://webEbenezer.net/about.html
Thanks in advance.


Brian
Ebenezer Enterprises - Enjoying programming again.
http://webEbenezer.net


More information about the freebsd-questions mailing list