1 --- exec.3.orig 2006-09-18 18:04:52.000000000 -0700
2 +++ exec.3 2006-09-18 18:05:37.000000000 -0700
16 .Vt extern char **environ ;
18 -.Fn execl "const char *path" "const char *arg" ... /* "(char *)0" */
20 -.Fn execlp "const char *file" "const char *arg" ... /* "(char *)0" */
22 +.Fa "const char *path"
23 +.Fa "const char *arg0"
24 +.Fa ... /* "(char *)0" */
28 -.Fa "const char *path" "const char *arg" ...
29 +.Fa "const char *path"
30 +.Fa "const char *arg0"
34 .Fa "(char *)0" "char *const envp[]" */
38 -.Fn exect "const char *path" "char *const argv[]" "char *const envp[]"
40 +.Fa "const char *file"
41 +.Fa "const char *arg0"
42 +.Fa ... /* "(char *)0" */
45 -.Fn execv "const char *path" "char *const argv[]"
47 +.Fa "const char *path"
48 +.Fa "char *const argv[]"
51 -.Fn execvp "const char *file" "char *const argv[]"
53 +.Fa "const char *file"
54 +.Fa "char *const argv[]"
57 -.Fn execvP "const char *file" "const char *search_path" "char *const argv[]"
59 +.Fa "const char *file"
60 +.Fa "const char *search_path"
61 +.Fa "char *const argv[]"
70 -.Fa "const char *arg"
71 +.Fa "const char *arg0"
72 and subsequent ellipses in the
89 -functions also specify the environment of the executed process by following
91 +function also specifies the environment of the executed process
94 pointer that terminates the list of arguments in the argument list
95 or the pointer to the argv array with an additional argument.
97 these functions will execute the shell with the path of
98 the file as its first argument.
99 (If this attempt fails, no further searching is done.)
103 -executes a file with the program tracing facilities enabled (see
126 +function may fail and set
128 for any of the errors specified for the library function
138 @@ -272,11 +277,11 @@
142 -Traditionally, the functions
147 -ignored all errors except for the ones described above and
148 +functions ignored all errors except for the ones described above and
150 upon which they retried after sleeping for several seconds, and