2 * vsyslog() for sites without. In order to enable this code, build with
3 * -Dvsyslog=myvsyslog. We use a different name so that no accidents will
4 * happen when vsyslog() exists. On systems with vsyslog(), syslog() is
5 * typically implemented in terms of vsyslog().
7 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
11 static char sccsid[] = "@(#) myvsyslog.c 1.1 94/12/28 17:42:33";
21 myvsyslog(severity, format, ap)
27 char obuf[3 * STRING_LENGTH];
29 vsprintf(obuf, percent_m(fbuf, format), ap);
30 syslog(severity, "%s", obuf);