DPRINTFSection: Linux Programmer's Manual (3)Updated: 2001-12-18 |
DPRINTFSection: Linux Programmer's Manual (3)Updated: 2001-12-18 |
int dprintf(int fd, const char *format, ...);
int vdprintf(int fd, const char *format, va_list ap);
void dprintf (int level, const char *format, ...);
where the first parameter is a debugging level (and output is to stderr). Moreover, dprintf (or DPRINTF) is also a popular macro name for a debugging printf. So, probably, it is better to avoid this function in programs intended to be portable.
A better name would have been fdprintf.