aboutsummaryrefslogtreecommitdiff
path: root/man/man3/open.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-11 03:42:27 +0000
committerrsc <devnull@localhost>2004-04-11 03:42:27 +0000
commitbf8a59fa013f5c705369fbe14e23ca78c4d09cb8 (patch)
tree2f8a9e329e05288a17fa7e4024199b0af2327b3d /man/man3/open.3
parentcfa37a7b1131abbab2e7d339b451f5f0e3198cc8 (diff)
downloadplan9port-bf8a59fa013f5c705369fbe14e23ca78c4d09cb8.tar.gz
plan9port-bf8a59fa013f5c705369fbe14e23ca78c4d09cb8.tar.bz2
plan9port-bf8a59fa013f5c705369fbe14e23ca78c4d09cb8.zip
Rewrite page(2) references to page(3).
Add description of new libmach.
Diffstat (limited to 'man/man3/open.3')
-rw-r--r--man/man3/open.316
1 files changed, 8 insertions, 8 deletions
diff --git a/man/man3/open.3 b/man/man3/open.3
index 4bc887b6..01d29c2b 100644
--- a/man/man3/open.3
+++ b/man/man3/open.3
@@ -34,7 +34,7 @@ says to truncate the file
to zero length before opening it;
.B OCEXEC
says to close the file when an
-.IR exec (2)
+.IR exec (3)
or
.I execl
system call is made;
@@ -45,7 +45,7 @@ says to remove the file when it is closed (by everyone who has a copy of the fil
fails if the file does not exist or the user does not have
permission to open it for the requested purpose
(see
-.IR stat (2)
+.IR stat (3)
for a description of permissions).
The user must have write permission on the
.I file
@@ -58,7 +58,7 @@ system call
(unlike the implicit
.I open
in
-.IR exec (2)),
+.IR exec (3)),
.B OEXEC
is actually identical to
.BR OREAD .
@@ -108,10 +108,10 @@ 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 (2))
+.IR intro (3))
then the constituent directory where the file is created
depends on the structure of the union: see
-.IR bind (2).
+.IR bind (3).
.PP
Since
.I create
@@ -140,9 +140,9 @@ allows the file descriptor to be reused.
.SH SOURCE
.B /sys/src/libc/9syscall
.SH SEE ALSO
-.IR intro (2),
-.IR bind (2),
-.IR stat (2)
+.IR intro (3),
+.IR bind (3),
+.IR stat (3)
.SH DIAGNOSTICS
These functions set
.IR errstr .