Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / x68k / stand / common / xprintf.h
blobd474ead1814499a666ae553cac2465943c3adf9c
1 /*
2 * declarations of tiny printf/err functions
4 * written by Yasha (ITOH Yasufumi)
5 * public domain
7 * $NetBSD: xprintf.h,v 1.1 1998/09/01 19:51:57 itohy Exp $
8 */
10 #include <sys/cdefs.h>
11 #ifdef __STDC__
12 #include <stdarg.h>
13 #endif
15 size_t xvsnprintf(char *buf, size_t len, const char *fmt, va_list ap);
16 size_t xsnprintf(char *buf, size_t len, const char *fmt, ...);
17 size_t xvfdprintf(int fd, const char *fmt, va_list ap);
18 size_t xprintf(const char *fmt, ...);
19 size_t xerrprintf(const char *fmt, ...);
20 __dead void xerr(int eval, const char *fmt, ...)
21 __attribute__((noreturn));
22 __dead void xerrx(int eval, const char *fmt, ...)
23 __attribute__((noreturn));
24 void xwarn(const char *fmt, ...);
25 void xwarnx(const char *fmt, ...);