summaryrefslogtreecommitdiff
path: root/lib/libc/gen/exec.3
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-10-30 13:39:23 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-10-30 13:39:23 +0000
commitcc5966e584ad006864915e3f47bb58010edd30f6 (patch)
treeeebe84570fb177c44ea56fc8ac02d85d710b3947 /lib/libc/gen/exec.3
parent5714e85318e33999ad2f1ff2a25c260b5796a3f9 (diff)
Notes
Diffstat (limited to 'lib/libc/gen/exec.3')
-rw-r--r--lib/libc/gen/exec.311
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3
index 3399d42e50af..e035640a0a79 100644
--- a/lib/libc/gen/exec.3
+++ b/lib/libc/gen/exec.3
@@ -144,10 +144,13 @@ character.
The search path is the path specified in the environment by
.Dq Ev PATH
variable.
-If this variable isn't specified, the default path
-.Dq Ev /bin:/usr/bin:
-is
-used.
+If this variable isn't specified,
+the default path is set according to the
+.Dv _PATH_DEFPATH
+definition in
+.Aq paths.h ,
+which is set to
+.Dq Ev /usr/bin:/bin .
In addition, certain errors are treated specially.
.Pp
If an error is ambiguous (for simplicity, we shall consider all