Annotation of xinu/sys/dotrace.debug.c, revision 1.1

1.1     ! root        1: /* dotrace.c - dotrace */
        !             2: 
        !             3: #include <kernel.h>
        !             4: 
        !             5: int    dotrace(procname, argv, argc)
        !             6:        char    *procname;
        !             7:        int     *argv;
        !             8:        int     argc;
        !             9: {
        !            10:        int     i;
        !            11: 
        !            12:        kprintf("%s(", procname);
        !            13:        for (i=0; i<argc-1; i++)
        !            14:                kprintf("%x,",*(argv + i));
        !            15:        if (argc != 0)
        !            16:                kprintf("%x)\n",*(argv + argc - 1));
        !            17:        else
        !            18:                kprintf(")\n");
        !            19: }

unix.superglobalmegacorp.com

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