From 54152c7e7ed656c969fe4536f17f66360cd8d971 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 6 Jun 2003 08:11:19 +0000 Subject: * cygwin.din: Add vsyslog. * fhandler.cc (fhandler_base::write): Only make file sparse if the seeked area is >= 128K. * syslog.cc (vsyslog): New function, overtaking functionality from syslog. (syslog): Just call vsyslog. * include/cygwin/version.h: Bump API minor. * include/sys/syslog.h: Add vsyslog declaration. --- winsup/cygwin/include/sys/syslog.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/include/sys/syslog.h') diff --git a/winsup/cygwin/include/sys/syslog.h b/winsup/cygwin/include/sys/syslog.h index f3195175e..a37b042d7 100644 --- a/winsup/cygwin/include/sys/syslog.h +++ b/winsup/cygwin/include/sys/syslog.h @@ -12,6 +12,8 @@ details. */ #define _SYS_LOG_H #include +#include + #define LOG_EMERG 0 #define LOG_ALERT 1 #define LOG_CRIT 2 @@ -76,6 +78,7 @@ void closelog (void); void openlog (const char *, int, int); int setlogmask (int); void syslog (int, const char *, ...); +void vsyslog (int, const char *, va_list ap); __END_DECLS -- cgit v1.2.3