From ce05275e10880ec3edf4a5931fde40f28f8b61d1 Mon Sep 17 00:00:00 2001 From: guenther Date: Mon, 18 Aug 2014 04:48:22 +0000 Subject: [PATCH] Add mention of execvpe() setting errno on failure. from Justus Baumgartner (meddev50 (at) gmail.com) --- lib/libc/gen/exec.3 | 7 ++++--- 1 file 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 -- 2.20.1