aboutsummaryrefslogtreecommitdiff
path: root/man/man3/open.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-03 06:40:20 +0000
committerrsc <devnull@localhost>2005-01-03 06:40:20 +0000
commit058b0118a52061ad57694c01fc8763b22b789c4d (patch)
tree6685f04dea5ed68edaa34998c976aed34c55fe94 /man/man3/open.3
parent2600337aa704efbeba8201e88147a764b4fd2b90 (diff)
downloadplan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.gz
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.bz2
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.zip
Some man pages.
Diffstat (limited to 'man/man3/open.3')
-rw-r--r--man/man3/open.319
1 files changed, 9 insertions, 10 deletions
diff --git a/man/man3/open.3 b/man/man3/open.3
index 46b4fe58..b964cc9a 100644
--- a/man/man3/open.3
+++ b/man/man3/open.3
@@ -94,7 +94,7 @@ bit is set.
Exclusive-use files may be open for I/O by only one client at a time,
but the file descriptor may become invalid if no I/O is done
for an extended period; see
-.IR open (5).
+.IR open (9p).
.PP
.I Create
fails if the path up to the last element of
@@ -106,12 +106,12 @@ does not permit the access defined by
of if there there are no free file descriptors.
In the last case, the file may be created even when
an error is returned.
-If the file is new and the directory in which it is created is
-a union directory (see
-.IR intro (3))
-then the constituent directory where the file is created
-depends on the structure of the union: see
-.IR bind (3).
+.\" If the file is new and the directory in which it is created is
+.\" a union directory (see
+.\" .IR intro (3))
+.\" then the constituent directory where the file is created
+.\" depends on the structure of the union: see
+.\" .IR bind (3).
.PP
Since
.I create
@@ -126,7 +126,7 @@ for a
.IR create,
the call succeeds only if the file does not already exist;
see
-.IR open (5)
+.IR open (9p)
for details.
.PP
.I Close
@@ -138,10 +138,9 @@ Files are closed automatically upon termination of a process;
.I close
allows the file descriptor to be reused.
.SH SOURCE
-.B /usr/local/plan9/src/libc/9syscall
+.B /usr/local/plan9/src/lib9
.SH SEE ALSO
.IR intro (3),
-.IR bind (3),
.IR stat (3)
.SH DIAGNOSTICS
These functions set