]> git.saurik.com Git - apple/libc.git/blob - gen/FreeBSD/exec.3.patch
Libc-391.2.3.tar.gz
[apple/libc.git] / gen / FreeBSD / exec.3.patch
1 --- exec.3.orig 2003-09-10 12:24:32.000000000 -0700
2 +++ exec.3 2004-10-24 17:12:17.000000000 -0700
3 @@ -39,7 +39,6 @@
4 .Nm execl ,
5 .Nm execlp ,
6 .Nm execle ,
7 -.Nm exect ,
8 .Nm execv ,
9 .Nm execvp ,
10 .Nm execvP
11 @@ -62,8 +61,6 @@
12 .Ek
13 .Fc
14 .Ft int
15 -.Fn exect "const char *path" "char *const argv[]" "char *const envp[]"
16 -.Ft int
17 .Fn execv "const char *path" "char *const argv[]"
18 .Ft int
19 .Fn execvp "const char *file" "char *const argv[]"
20 @@ -106,7 +103,6 @@
21 pointer.
22 .Pp
23 The
24 -.Fn exect ,
25 .Fn execv ,
26 .Fn execvp ,
27 and
28 @@ -123,9 +119,7 @@
29 .Pp
30 The
31 .Fn execle
32 -and
33 -.Fn exect
34 -functions also specify the environment of the executed process by following
35 +function also specify the environment of the executed process by following
36 the
37 .Dv NULL
38 pointer that terminates the list of arguments in the argument list
39 @@ -203,11 +197,6 @@
40 these functions will execute the shell with the path of
41 the file as its first argument.
42 (If this attempt fails, no further searching is done.)
43 -.Pp
44 -The function
45 -.Fn exect
46 -executes a file with the program tracing facilities enabled (see
47 -.Xr ptrace 2 ) .
48 .Sh RETURN VALUES
49 If any of the
50 .Fn exec
51 @@ -237,10 +226,8 @@
52 .Xr malloc 3 .
53 .Pp
54 The
55 -.Fn exect
56 -and
57 .Fn execv
58 -functions
59 +function
60 may fail and set
61 .Va errno
62 for any of the errors specified for the library function