* 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

@ -206,12 +206,13 @@ details. */
official release has been made so far. This change removes
exported symbols like fopen64, which might confuse configure.
86: Export ftok
87: Export vsyslog
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 86
#define CYGWIN_VERSION_API_MINOR 87
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible

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