Annotation of coherent/b/lib/libc/sys/execle.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * libc/sys/execle.c
        !             3:  * Sys exec with a list of arguments and environment.
        !             4:  */
        !             5: 
        !             6: #define        NULL    ((char *)0)
        !             7: 
        !             8: /* execle(name, arg0, arg1, ..., argn, NULL, envp) */
        !             9: /* VARARGS 1 */
        !            10: int
        !            11: execle(name, arg0) char *name; char *arg0;
        !            12: {
        !            13:        register char **envp;
        !            14: 
        !            15:        envp = &arg0;
        !            16:        while (*envp++ != NULL)
        !            17:                ;
        !            18:        return execve(name, &arg0, *envp);
        !            19: }
        !            20: 
        !            21: /* end of libc/sys/execle.c */

unix.superglobalmegacorp.com

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