summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-08-18 04:48:23 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-08-18 04:48:23 +0000
commit568267eb716343d8d7a5eb85d184f643cb2d23a3 (patch)
tree179a5fa4ab9959f854a9c43553a6206d1501463b /lib/libc/gen
parent3c7b35c4c7ee26936867a90a4b39b38928cf90fc (diff)
Add mention of execvpe() setting errno on failure.
from Justus Baumgartner (meddev50 (at) gmail.com)
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/exec.37
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3
index 8d0ea1e3a90..cd3010a45f5 100644
--- a/lib/libc/gen/exec.3
+++ b/lib/libc/gen/exec.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: exec.3,v 1.26 2014/08/16 21:09:36 guenther Exp $
+.\" $OpenBSD: exec.3,v 1.27 2014/08/18 04:48:22 guenther Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 16 2014 $
+.Dd $Mdocdate: August 18 2014 $
.Dt EXEC 3
.Os
.Sh NAME
@@ -177,8 +177,9 @@ default shell program
.Fn execl ,
.Fn execle ,
.Fn execlp ,
+.Fn execvp ,
and
-.Fn execvp
+.Fn execvpe
may fail and set
.Va errno
for any of the errors specified for the library functions