Annotation of researchv10no/cmd/worm/timenow.c, revision 1.1

1.1     ! root        1: #include       <libc.h>
        !             2: #include       "worm.h"
        !             3: 
        !             4: char *
        !             5: timenow()
        !             6: {
        !             7:        long tim;
        !             8:        char *tims;
        !             9: 
        !            10:        time(&tim);
        !            11:        tims = ctime(&tim);
        !            12:        tims[19] = 0;
        !            13:        return(tims);
        !            14: }

unix.superglobalmegacorp.com

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