va_list ap;
void *buf; struct sigaction *oldaction; };
static void openlog_internal(const char *, int, int) internal_function;static void closelog_internal(void);static void sigpipe_handler (int);#ifdef _LIBC_REENTRANTstatic void cancel_handler (void *);#endif/* * syslog, vsyslog -- *	print message on log file; output is intended for syslogd(8). */void#if __STDC__syslog(int pri, const char *fmt, ...)#elsesyslog(pri, fmt, va_alist)	int pri;	char *fmt;	va_dcl#endif{	va_list ap;#if __STDC__	va_start(ap, fmt);#else	va_start(ap);#endif	vsyslog(pri, fmt, ap);	va_end(ap);}