1DPRINTF(3) Linux Programmer's Manual DPRINTF(3)
2
3
4
6 dprintf, vdprintf - print to a file descriptor
7
9 #define _GNU_SOURCE
10 #include <stdio.h>
11
12 int dprintf(int fd, const char *format, ...);
13
14 int vdprintf(int fd, const char *format, va_list ap);
15
17 The functions dprintf() and vdprintf() (as found in the glibc2 library)
18 are exact analogs of fprintf(3) and vfprintf(3), except that they out‐
19 put to a file descriptor fd instead of to a stdio stream.
20
22 These functions are GNU extensions that are nowadays specified in
23 POSIX.1-2008
24
26 printf(3), feature_test_macros(7)
27
29 This page is part of release 3.25 of the Linux man-pages project. A
30 description of the project, and information about reporting bugs, can
31 be found at http://www.kernel.org/doc/man-pages/.
32
33
34
35GNU 2008-08-06 DPRINTF(3)