Includes for syslog()
    Steve O'Hara-Smith 
    steve at sohara.org
       
    Sun Nov 25 18:35:57 UTC 2018
    
    
  
On Sun, 25 Nov 2018 11:40:40 -0600
Brian Wood <woodbrian77 at gmail.com> wrote:
> 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
	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.
-- 
Steve O'Hara-Smith <steve at sohara.org>
    
    
More information about the freebsd-questions
mailing list