summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-08-18 04:48:22 +0000
committerguenther <guenther@openbsd.org>2014-08-18 04:48:22 +0000
commitce05275e10880ec3edf4a5931fde40f28f8b61d1 (patch)
tree901bfea2da0a9d8c215583be61565f2923f85f03 /lib/libc
parentits a bit silly to include mbuf.h to get to malloc.h. just include (diff)
downloadwireguard-openbsd-ce05275e10880ec3edf4a5931fde40f28f8b61d1.tar.xz
wireguard-openbsd-ce05275e10880ec3edf4a5931fde40f28f8b61d1.zip
Add mention of execvpe() setting errno on failure.
from Justus Baumgartner (meddev50 (at) gmail.com)
Diffstat (limited to 'lib/libc')
-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