~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/dprintf.3

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-11-17 16:35:58 UTC
  • mfrom: (1.1.45 upstream) (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101117163558-9h3ho5jumqm3rdmd
Tags: 3.27-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
.\"
23
23
.\" Text fragments inspired by Martin Schulze <joey@infodrom.org>.
24
24
.\"
25
 
.TH DPRINTF 3 2008-08-06 "GNU" "Linux Programmer's Manual"
 
25
.TH DPRINTF 3 2010-09-15 "GNU" "Linux Programmer's Manual"
26
26
.SH NAME
27
27
dprintf, vdprintf \- print to a file descriptor
28
28
.SH SYNOPSIS
29
 
.B #define _GNU_SOURCE
30
 
.br
31
29
.B #include <stdio.h>
32
30
.sp
33
31
.BI "int dprintf(int " fd ", const char *" format ", ...);"
34
32
.sp
35
33
.BI "int vdprintf(int " fd ", const char *" format ", va_list " ap );
 
34
.fi
 
35
.sp
 
36
.in -4n
 
37
Feature Test Macro Requirements for glibc (see
 
38
.BR feature_test_macros (7)):
 
39
.in
 
40
.sp
 
41
.BR dprintf (),
 
42
.BR vdprintf ():
 
43
.PD 0
 
44
.ad l
 
45
.RS 4
 
46
.TP 4
 
47
Since glibc 2.10:
 
48
_XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
 
49
.TP
 
50
Before glibc 2.10:
 
51
_GNU_SOURCE
 
52
.RE
 
53
.ad
 
54
.PD
36
55
.SH DESCRIPTION
37
56
The functions
38
57
.BR dprintf ()
77
96
.BR printf (3),
78
97
.BR feature_test_macros (7)
79
98
.SH COLOPHON
80
 
This page is part of release 3.26 of the Linux
 
99
This page is part of release 3.27 of the Linux
81
100
.I man-pages
82
101
project.
83
102
A description of the project,