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

« back to all changes in this revision

Viewing changes to man2/openat.2

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2010-03-02 21:49:58 UTC
  • mfrom: (1.1.42 upstream) (2.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100302214958-69yjgb70t7wrjo3m
New upstream version
. Remove crufty statement in setuid(2) that seteuid() is not in POSIX
(closes: Bug#569812)
. Fix description of 'nochdir' argument in daemon(3) (closes: Bug#554819)
. Fix NAME line in path_resolution(7) (closes: Bug#558300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
.\" the source, must acknowledge the copyright and authors of this work.
24
24
.\"
25
25
.\"
26
 
.TH OPENAT 2 2008-08-21 "Linux" "Linux Programmer's Manual"
 
26
.TH OPENAT 2 2009-12-13 "Linux" "Linux Programmer's Manual"
27
27
.SH NAME
28
28
openat \- open a file relative to a directory file descriptor
29
29
.SH SYNOPSIS
30
30
.nf
31
 
.B #define _ATFILE_SOURCE
32
31
.B #include <fcntl.h>
33
32
.sp
34
33
.BI "int openat(int " dirfd ", const char *" pathname ", int " flags );
35
34
.BI "int openat(int " dirfd ", const char *" pathname ", int " flags \
36
35
", mode_t " mode );
37
36
.fi
 
37
.sp
 
38
.in -4n
 
39
Feature Test Macro Requirements for glibc (see
 
40
.BR feature_test_macros (7)):
 
41
.in
 
42
.sp
 
43
.BR openat ():
 
44
.br
 
45
Since glibc 2.10: _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L
 
46
.br
 
47
Before glibc 2.10:
 
48
_ATFILE_SOURCE
38
49
.SH DESCRIPTION
39
50
The
40
51
.BR openat ()
160
171
.BR mkfifoat (3),
161
172
.BR path_resolution (7)
162
173
.SH COLOPHON
163
 
This page is part of release 3.23 of the Linux
 
174
This page is part of release 3.24 of the Linux
164
175
.I man-pages
165
176
project.
166
177
A description of the project,