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

« back to all changes in this revision

Viewing changes to man3/tmpnam.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
.\" 2003-11-15, aeb, added tmpnam_r
24
24
.\"
25
 
.TH TMPNAM 3  2008-08-06 "" "Linux Programmer's Manual"
 
25
.TH TMPNAM 3  2010-09-10 "" "Linux Programmer's Manual"
26
26
.SH NAME
27
27
tmpnam, tmpnam_r \- create a name for a temporary file
28
28
.SH SYNOPSIS
132
132
.sp
133
133
apparently as a warning not to use NULL.
134
134
A few systems implement it.
135
 
To get a glibc prototype for this function,
 
135
To get a glibc prototype for this function from
 
136
.IR <stdio.h> ,
136
137
define
137
138
.B _SVID_SOURCE
138
139
or
139
140
.B _BSD_SOURCE
140
 
before including
141
 
.IR <stdio.h> .
 
141
(before including
 
142
.I any
 
143
header file).
142
144
.SH BUGS
143
145
Never use this function.
144
146
Use
152
154
.BR tempnam (3),
153
155
.BR tmpfile (3)
154
156
.SH COLOPHON
155
 
This page is part of release 3.26 of the Linux
 
157
This page is part of release 3.27 of the Linux
156
158
.I man-pages
157
159
project.
158
160
A description of the project,