Annotation of coherent/b/lib/libc/sys/execlpe.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * libc/sys/execlpe.c
                      3:  * Sys exec with a list of arguments and environment,
                      4:  * searching directories specified in PATH.
                      5:  */
                      6: 
                      7: #define        NULL    ((char *)0)
                      8: 
                      9: /* execlpe(name, arg0, arg1, ..., argn, NULL, envp) */
                     10: /* VARARGS 1 */
                     11: int
                     12: execlpe(name, arg0) char *name; char *arg0;
                     13: {
                     14:        register char **envp;
                     15: 
                     16:        envp = &arg0;
                     17:        while (*envp++ != NULL)
                     18:                ;
                     19:        return execvpe(name, &arg0, *envp);
                     20: }
                     21: 
                     22: /* 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.