2 #include <sys/syslog.h>
7 openlog(const char *path
, int opt
, int fac
)
22 __strong_alias(_syslog
, syslog
)
24 syslog(int fac
, const char *fmt
, ...)
28 (void)vfprintf(stderr
, fmt
, ap
);
30 (void)fprintf(stderr
, "\n");
34 __strong_alias(_vsyslog
, vsyslog
)
36 vsyslog(int fac
, const char *fmt
, va_list ap
)
38 (void)vfprintf(stderr
, fmt
, ap
);
39 (void)fprintf(stderr
, "\n");
43 void syslog_ss(int, struct syslog_data
*, const char *, ...);
44 __strong_alias(_syslog_ss
, syslog_ss
)
46 syslog_ss(int priority
, struct syslog_data
*data
, const char *fmt
, ...)
50 vsyslog(priority
, fmt
, ap
);
54 void vsyslog_ss(int, struct syslog_data
*, const char *, va_list);
55 __strong_alias(_vsyslog_ss
, vsyslog_ss
)
57 vsyslog_ss(int priority
, struct syslog_data
*data
, const char *fmt
, va_list ap
)
59 vsyslog(priority
, fmt
, ap
);
62 __strong_alias(_syslog_r
, syslog_r
)
64 syslog_r(int priority
, struct syslog_data
*data
, const char *fmt
, ...)
68 vsyslog(priority
, fmt
, ap
);
72 __strong_alias(_vsyslog_r
, vsyslog_r
)
74 vsyslog_r(int priority
, struct syslog_data
*data
, const char *fmt
, va_list ap
)
76 vsyslog(priority
, fmt
, ap
);
79 __strong_alias(_closelog_r
, closelog_r
)
81 closelog_r(struct syslog_data
*data
)
85 __strong_alias(_setlogmask_r
, setlogmask_r
)
87 setlogmask_r(int maskpri
, struct syslog_data
*data
)
92 __strong_alias(_openlog_r
, openlog_r
)
94 openlog_r(const char *id
, int logopt
, int facility
, struct syslog_data
*data
)