* 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.
This commit is contained in:
Corinna Vinschen
2003-06-06 08:11:19 +00:00
parent b0ad6f2ba5
commit 54152c7e7e
6 changed files with 28 additions and 7 deletions

View File

@ -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