blob: 3fab1273987ee4399c2bf03963a83df641a8a81d [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001/* Copyright (C) 2004 Manuel Novoa III <mjn3@codepoet.org>
2 *
3 * GNU Library General Public License (LGPL) version 2 or later.
4 *
5 * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
6 */
7
8#include <features.h>
9
10#ifdef __USE_GNU
11#include "_stdio.h"
12#include <stdarg.h>
13
14
15int dprintf(int filedes, const char * __restrict format, ...)
16{
17 va_list arg;
18 int rv;
19
20 va_start(arg, format);
21 rv = vdprintf(filedes, format, arg);
22 va_end(arg);
23
24 return rv;
25}
26#endif