Plan 9 from Bell Labs’s /usr/web/sources/contrib/anothy/src/lib/djb-ape/unix/pathexec.3

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH pathexec 3
.SH NAME
pathexec \- search for and run a program
.SH SYNTAX
.B #include <pathexec.h>

pathexec(const char** \fBargv\fR);
.SH DESCRIPTION

pathexec calls pathexec_run with program name \fIargv\fR[0], arguments
\fIargv\fR, and the same environment as the current process, modified as
described below.  pathexec has the same return behavior as pathexec_run.
.SH "SEE ALSO"
execve(2), pathexec_run(3), pathexec_env(3)

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].