aboutsummaryrefslogtreecommitdiffstats
path: root/man3/exec.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:29:28 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:29:28 +0000
commite1d6264d9feaed449e70f288ebdd40d8abae818c (patch)
treec3c8c2c31ecf22c1e9cb32458e485d02a695d3c6 /man3/exec.3
parentf8fc5a2301bcf0cbfaa1db15adedde386e26a081 (diff)
downloadman-pages-e1d6264d9feaed449e70f288ebdd40d8abae818c.tar.gz
Manual fixes for parentheses formatting
Diffstat (limited to 'man3/exec.3')
-rw-r--r--man3/exec.310
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/exec.3 b/man3/exec.3
index 83d8bb380c..fcbc355118 100644
--- a/man3/exec.3
+++ b/man3/exec.3
@@ -56,13 +56,13 @@ execl, execlp, execle, execv, execvp \- execute a file
.BI "int execvp(const char *" file ", char *const " argv "[]);"
.SH DESCRIPTION
The
-.B exec
+.BR exec ()
family of functions replaces the current process image with a new process
image. The functions described in this manual page are front-ends for the
function
.BR execve (2).
(See the manual page for
-.B execve
+.BR execve ()
for detailed information about the replacement of the current process.)
.PP
The initial argument for these functions is the pathname of a file which is
@@ -134,7 +134,7 @@ variable. If this variable isn't specified, the default path
errors are treated specially.
.PP
If permission is denied for a file (the attempted
-.B execve
+.BR execve ()
returned
.BR EACCES ),
these functions will continue searching the rest of the search path. If no
@@ -144,14 +144,14 @@ set to
.BR EACCES .
.PP
If the header of a file isn't recognized (the attempted
-.B execve
+.BR execve ()
returned
.BR ENOEXEC ),
these functions will execute the shell with the path of the file as its
first argument. (If this attempt fails, no further searching is done.)
.SH "RETURN VALUE"
If any of the
-.B exec
+.BR exec ()
functions returns, an error will have occurred. The return value is \-1,
and the global variable
.I errno