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

« back to all changes in this revision

Viewing changes to man2/open.2

  • Committer: Bazaar Package Importer
  • Author(s): Lorenzo De Liso
  • Date: 2010-10-30 17:16:44 UTC
  • mfrom: (1.1.43 upstream) (2.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20101030171644-keybyul2o3qsj4r3
Tags: 3.25-1ubuntu1
* Merge from debian unstable (LP: #668739), remaining changes:
  - prctl.2: add notes about PR_SET_PTRACER, specific to Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
.\" O_TTYINIT.  Eventually these may need to be documented.  --mtk
49
49
.\" FIXME Linux 2.6.33 has O_DSYNC, and a hiddden __O_SYNC.
50
50
.\"
51
 
.TH OPEN 2 2009-09-20 "Linux" "Linux Programmer's Manual"
 
51
.TH OPEN 2 2010-06-14 "Linux" "Linux Programmer's Manual"
52
52
.SH NAME
53
53
open, creat \- open and possibly create a file or device
54
54
.SH SYNOPSIS
333
333
.BR open ()
334
334
fails regardless of where the symbolic link points to.
335
335
 
 
336
On NFS,
336
337
.B O_EXCL
337
 
is only supported on NFS when using NFSv3 or later on kernel 2.6 or later.
338
 
In environments where NFS
 
338
is only supported when using NFSv3 or later on kernel 2.6 or later.
 
339
In NFS environments where
339
340
.B O_EXCL
340
341
support is not provided, programs that rely on it
341
342
for performing locking tasks will contain a race condition.
679
680
.B O_RSYNC
680
681
to the same numerical value as
681
682
.BR O_SYNC
682
 
Most Linux filesystems don't actually implement the POSIX
 
683
Most Linux file systems don't actually implement the POSIX
683
684
.B O_SYNC
684
685
semantics, which require all metadata updates of a write
685
686
to be on disk on returning to userspace, but only the
849
850
.BR path_resolution (7),
850
851
.BR symlink (7)
851
852
.SH COLOPHON
852
 
This page is part of release 3.24 of the Linux
 
853
This page is part of release 3.25 of the Linux
853
854
.I man-pages
854
855
project.
855
856
A description of the project,