aboutsummaryrefslogtreecommitdiff
path: root/man/man3/exec.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/exec.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/exec.3')
-rw-r--r--man/man3/exec.310
1 files changed, 5 insertions, 5 deletions
diff --git a/man/man3/exec.3 b/man/man3/exec.3
index 5ce9583a..bf10cb5d 100644
--- a/man/man3/exec.3
+++ b/man/man3/exec.3
@@ -34,7 +34,7 @@ points to the name of the file
to be executed; it must not be a directory, and the permissions
must allow the current user to execute it
(see
-.IR stat (2)).
+.IR stat (3)).
It should also be a valid binary image, as defined in the
.IR a.out (6)
for the current machine architecture,
@@ -103,7 +103,7 @@ files remain open across
.B OCEXEC
OR'd
into the open mode; see
-.IR open (2));
+.IR open (3));
and the working directory and environment
(see
.IR env (3))
@@ -112,7 +112,7 @@ However, a newly
.I exec'ed
process has no notification handler
(see
-.IR notify (2)).
+.IR notify (3)).
.PP
When the new program begins, the global cell
.B _clock
@@ -147,8 +147,8 @@ on the 68020) contains the address of the clock.
.B /sys/src/libc/port/execl.c
.SH SEE ALSO
.IR prof (1),
-.IR intro (2),
-.IR stat (2)
+.IR intro (3),
+.IR stat (3)
.SH DIAGNOSTICS
If these functions fail, they return and set
.IR errstr .