File:  [MW Coherent from dump] / coherent / b / lib / libc / sys / execlpe.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:35 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * libc/sys/execlpe.c
 * Sys exec with a list of arguments and environment,
 * searching directories specified in PATH.
 */

#define	NULL	((char *)0)

/* execlpe(name, arg0, arg1, ..., argn, NULL, envp) */
/* VARARGS 1 */
int
execlpe(name, arg0) char *name; char *arg0;
{
	register char **envp;

	envp = &arg0;
	while (*envp++ != NULL)
		;
	return execvpe(name, &arg0, *envp);
}

/* end of libc/sys/execlpe.c */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.