diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-06-06 08:11:19 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-06-06 08:11:19 +0000 |
commit | 54152c7e7ed656c969fe4536f17f66360cd8d971 (patch) | |
tree | 458098c0f911a990200369579ba4cb845e16c5c8 /winsup/cygwin/include/sys/syslog.h | |
parent | b0ad6f2ba5308778b0ce6ab3563d349fb5f919be (diff) | |
download | cygnal-54152c7e7ed656c969fe4536f17f66360cd8d971.tar.gz cygnal-54152c7e7ed656c969fe4536f17f66360cd8d971.tar.bz2 cygnal-54152c7e7ed656c969fe4536f17f66360cd8d971.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/include/sys/syslog.h')
-rw-r--r-- | winsup/cygwin/include/sys/syslog.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <sys/cdefs.h> +#include <stdarg.h> + #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 |