summaryrefslogtreecommitdiffstats
path: root/man3/exec.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/exec.3')
-rw-r--r--man3/exec.332
1 files changed, 16 insertions, 16 deletions
diff --git a/man3/exec.3 b/man3/exec.3
index 0ff3b1f48..59a565ab9 100644
--- a/man3/exec.3
+++ b/man3/exec.3
@@ -37,7 +37,7 @@ Standard C library
.P
.RS -4
Feature Test Macro Requirements for glibc (see
-.BR feature_test_macros (7)):
+.MR feature_test_macros 7 ):
.RE
.P
.BR execvpe ():
@@ -50,9 +50,9 @@ The
family of functions replaces the current process image with a new process
image.
The functions described in this manual page are layered on top of
-.BR execve (2).
+.MR execve 2 .
(See the manual page for
-.BR execve (2)
+.MR execve 2
for further details about the replacement of the current process image.)
.P
The initial argument for these functions is the name of a file that is
@@ -136,7 +136,7 @@ is ignored, and the file at the specified pathname is executed.
In addition, certain errors are treated specially.
.P
If permission is denied for a file (the attempted
-.BR execve (2)
+.MR execve 2
failed with the error
.BR EACCES ),
these functions will continue searching the rest of the search path.
@@ -147,7 +147,7 @@ set to
.BR EACCES .
.P
If the header of a file isn't recognized (the attempted
-.BR execve (2)
+.MR execve 2
failed with the error
.BR ENOEXEC ),
these functions will execute the shell
@@ -171,10 +171,10 @@ is set to indicate the error.
All of these functions may fail and set
.I errno
for any of the errors specified for
-.BR execve (2).
+.MR execve 2 .
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -283,7 +283,7 @@ Before glibc 2.24,
and
.BR execle ()
employed
-.BR realloc (3)
+.MR realloc 3
internally and were consequently not async-signal-safe,
in violation of the requirements of POSIX.1.
.\" https://sourceware.org/bugzilla/show_bug.cgi?id=19534
@@ -301,11 +301,11 @@ employed by the
.BR execv ()
wrapper function on those architectures.
.SH SEE ALSO
-.BR sh (1),
-.BR execve (2),
-.BR execveat (2),
-.BR fork (2),
-.BR ptrace (2),
-.BR fexecve (3),
-.BR system (3),
-.BR environ (7)
+.MR sh 1 ,
+.MR execve 2 ,
+.MR execveat 2 ,
+.MR fork 2 ,
+.MR ptrace 2 ,
+.MR fexecve 3 ,
+.MR system 3 ,
+.MR environ 7