libc: fix MIPS N64 fork
[uclibc-ng.git] / libc / stdio / dprintf.c
blob3fab1273987ee4399c2bf03963a83df641a8a81d
1 /* Copyright (C) 2004 Manuel Novoa III <mjn3@codepoet.org>
3 * GNU Library General Public License (LGPL) version 2 or later.
5 * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
6 */
8 #include <features.h>
10 #ifdef __USE_GNU
11 #include "_stdio.h"
12 #include <stdarg.h>
15 int dprintf(int filedes, const char * __restrict format, ...)
17 va_list arg;
18 int rv;
20 va_start(arg, format);
21 rv = vdprintf(filedes, format, arg);
22 va_end(arg);
24 return rv;
26 #endif