summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2007-12-02 10:26:27 +0000
committerrillig <rillig@NetBSD.org>2007-12-02 10:26:27 +0000
commitd59ceee59e687bd4bc4a116a3f6bd982da3b9760 (patch)
treea4d96b68310d90d888d11c2015566f3d6228e183 /lib/libc
parente501c341996eef2701676792b79c92ba843d71fa (diff)
ENOENT is also returned when the script interpreter does not exist.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/execve.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 3aa3f11d426..efb2fac99c5 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: execve.2,v 1.35 2005/05/07 17:29:19 perry Exp $
+.\" $NetBSD: execve.2,v 1.36 2007/12/02 10:26:27 rillig Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -220,6 +220,10 @@ characters, or an entire path name exceeded
characters.
.It Bq Er ENOENT
The new process file does not exist.
+.It Bq Er ENOENT
+The new process file is a script starting with
+.Li #!
+and the script interpreter does not exist.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EACCES