1DPRINTF(3)                 Linux Programmer's Manual                DPRINTF(3)
2
3
4

NAME

6       dprintf, vdprintf - print to a file descriptor
7

SYNOPSIS

9       #include <stdio.h>
10
11       int dprintf(int fd, const char *format, ...);
12
13       int vdprintf(int fd, const char *format, va_list ap);
14
15   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
16
17       dprintf(), vdprintf():
18           Since glibc 2.10:
19               _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L
20           Before glibc 2.10:
21               _GNU_SOURCE
22

DESCRIPTION

24       The functions dprintf() and vdprintf() (as found in the glibc2 library)
25       are exact analogs of fprintf(3) and vfprintf(3), except that they  out‐
26       put to a file descriptor fd instead of to a stdio stream.
27

CONFORMING TO

29       These  functions  are  GNU  extensions  that  are nowadays specified in
30       POSIX.1-2008.
31

SEE ALSO

33       printf(3)
34

COLOPHON

36       This page is part of release 3.53 of the Linux  man-pages  project.   A
37       description  of  the project, and information about reporting bugs, can
38       be found at http://www.kernel.org/doc/man-pages/.
39
40
41
42GNU                               2010-09-15                        DPRINTF(3)
Impressum