diff options
author | 2014-01-20 08:46:45 +0000 | |
---|---|---|
committer | 2014-01-20 08:46:45 +0000 | |
commit | 47fbac67d4dd2e190e741e97052251d2c00b958a (patch) | |
tree | 811b3ecd97f89f3044af82ff69fc6b668fc5b295 /lib | |
parent | Unlink the old amd64/i386 installboot. (diff) | |
download | wireguard-openbsd-47fbac67d4dd2e190e741e97052251d2c00b958a.tar.xz wireguard-openbsd-47fbac67d4dd2e190e741e97052251d2c00b958a.zip |
Add missing section numbers to .Xr; found while testing mandocdb(8).
While here, improve the wording at one place.
OK jmc@.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/exec.3 | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index 52ac332ee9a..56bba41957b 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: exec.3,v 1.23 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: exec.3,v 1.24 2014/01/20 08:46:45 schwarze Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 20 2014 $ .Dt EXEC 3 .Os .Sh NAME @@ -58,11 +58,10 @@ The .Nm exec family of functions replace the current process image with a new process image. -The functions described in this manual page are front-ends for the function -.Xr execve 2 . -(See the manual page for -.Xr execve -for detailed information about the replacement of the current process.) +The functions described in this manual page are front-ends for the +.Xr execve 2 +system call; see that manual page 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 to be executed. @@ -143,7 +142,7 @@ is used instead, its value being: In addition, certain errors are treated specially. .Pp If permission is denied for a file (the attempted -.Xr execve +.Xr execve 2 returned .Er EACCES ) , these functions will continue searching the rest of @@ -154,7 +153,7 @@ set to .Er EACCES . .Pp If the header of a file isn't recognized (the attempted -.Xr execve +.Xr execve 2 returned .Er ENOEXEC ) , these functions will execute the shell with the path of |