X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/90f5cfd57bc54f784b98ef189fa98a1fb7d49df7..d4bad45b4cd93ba2a4fafffbdd8ad4512f2c0701:/usr/src/lib/libc/sys/execve.2 diff --git a/usr/src/lib/libc/sys/execve.2 b/usr/src/lib/libc/sys/execve.2 index d05c1cb27e..5a30227823 100644 --- a/usr/src/lib/libc/sys/execve.2 +++ b/usr/src/lib/libc/sys/execve.2 @@ -2,7 +2,7 @@ .\" All rights reserved. The Berkeley software License Agreement .\" specifies the terms and conditions for redistribution. .\" -.\" @(#)execve.2 6.6 (Berkeley) %G% +.\" @(#)execve.2 6.7 (Berkeley) %G% .\" .TH EXECVE 2 "" .UC 4 @@ -24,7 +24,7 @@ or a file of data for an interpreter. An executable object file consists of an identifying header, followed by pages of data representing the initial program (text) and initialized data pages. Additional pages may be specified -by the header to be initialize with zero data. See +by the header to be initialized with zero data. See .IR a.out (5). .PP An interpreter file begins with a line of the form ``#! \fIinterpreter\fP''. @@ -43,17 +43,17 @@ to null-terminated character strings. These strings constitute the argument list to be made available to the new process. By convention, at least one argument must be present in this array, and the first element of this array should be -the name of the executed program (i.e. the last component of \fIname\fP). +the name of the executed program (i.e., the last component of \fIname\fP). .PP The argument \fIenvp\fP is also a null-terminated array of character pointers to null-terminated strings. These strings pass information to the -new process that is not directly an argument to the command, see -.IR environ (7). +new process that is not directly an argument to the command (see +.IR environ (7)). .PP Descriptors open in the calling process remain open in the new process, except for those for which the close-on-exec -flag is set; see -.IR close (2). +flag is set (see +.IR close (2)). Descriptors that remain open are unaffected by .IR execve . .PP @@ -61,13 +61,13 @@ Ignored signals remain ignored across an .IR execve , but signals that are caught are reset to their default values. Blocked signals remain blocked regardless of changes to the signal action. -The signal stack is reset to be undefined; see -.IR sigvec (2) -for more information. +The signal stack is reset to be undefined (see +.IR sigvec (2) +for more information). .PP Each process has .I real -user and group IDs and a +user and group IDs and an .I effective user and group IDs. The .I real