From 47ed6ce0dabbad69698de595dc3ea3741c3faba4 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 20 Jan 2014 08:46:46 +0000 Subject: Add missing section numbers to .Xr; found while testing mandocdb(8). While here, improve the wording at one place. OK jmc@. --- lib/libc/gen/exec.3 | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3