diff options
Diffstat (limited to 'man2/execveat.2')
-rw-r--r-- | man2/execveat.2 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/man2/execveat.2 b/man2/execveat.2 index ff0eb278f..328aad032 100644 --- a/man2/execveat.2 +++ b/man2/execveat.2 @@ -28,7 +28,7 @@ system call executes the program referred to by the combination of and .IR pathname . It operates in exactly the same way as -.BR execve (2), +.MR execve 2 , except for the differences described in this manual page. .P If the pathname given in @@ -38,7 +38,7 @@ referred to by the file descriptor .I dirfd (rather than relative to the current working directory of the calling process, as is done by -.BR execve (2) +.MR execve 2 for a relative pathname). .P If @@ -51,7 +51,7 @@ then .I pathname is interpreted relative to the current working directory of the calling process (like -.BR execve (2)). +.MR execve 2 ). .P If .I pathname @@ -79,7 +79,7 @@ If is an empty string, operate on the file referred to by .I dirfd (which may have been obtained using the -.BR open (2) +.MR open 2 .B O_PATH flag). .TP @@ -99,7 +99,7 @@ On error, \-1 is returned, and is set to indicate the error. .SH ERRORS The same errors that occur for -.BR execve (2) +.MR execve 2 can also occur for .BR execveat (). The following additional errors can occur for @@ -152,11 +152,11 @@ Linux 3.19, glibc 2.34. .SH NOTES In addition to the reasons explained in -.BR openat (2), +.MR openat 2 , the .BR execveat () system call is also needed to allow -.BR fexecve (3) +.MR fexecve 3 to be implemented on systems that do not have the .I /proc filesystem mounted. @@ -185,7 +185,7 @@ is the value given in .IR pathname . .P For the same reasons described in -.BR fexecve (3), +.MR fexecve 3 , the natural idiom when using .BR execveat () is to set the close-on-exec flag on @@ -215,6 +215,6 @@ where scripts recursively employ .\" Subject: [PATCHv10 man-pages 5/5] execveat.2: initial man page.\" for execveat(2 .\" Date: Mon, 24 Nov 2014 11:53:59 +0000 .SH SEE ALSO -.BR execve (2), -.BR openat (2), -.BR fexecve (3) +.MR execve 2 , +.MR openat 2 , +.MR fexecve 3 |