-.\" $OpenBSD: execv.3,v 1.1 2019/08/11 15:48:08 deraadt Exp $
+.\" $OpenBSD: execv.3,v 1.2 2023/05/13 16:36:40 kn Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 11 2019 $
+.Dd $Mdocdate: May 13 2023 $
.Dt EXECV 3
.Os
.Sh NAME
.Dv _PATH_DEFPATH
from
.In paths.h
-is used instead, its value being:
-.Pa /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin
+is used instead, consisting of
+.Pa /usr/bin ,
+.Pa /bin ,
+.Pa /usr/sbin ,
+.Pa /sbin ,
+.Pa /usr/X11R6/bin ,
+.Pa /usr/local/bin ,
+.Pa /usr/local/sbin .
.Pp
In addition, certain errors are treated specially.
.Pp
and
.Fn execvp
functions was
-.Pa \&.:/bin:/usr/bin .
+.Pa \&. ,
+.Pa /bin ,
+.Pa /usr/bin .
This was changed to improve security and behaviour.
.Pp
The behavior of