Annotation of 43BSD/ingres/source/gutil/lprintf.c, revision 1.1

1.1     ! root        1: # include      <useful.h>
        !             2: # include      <sccs.h>
        !             3: 
        !             4: SCCSID(@(#)lprintf.c   8.1     12/31/84)
        !             5: 
        !             6: /*
        !             7: **  LPRINTF -- labelled printf
        !             8: **
        !             9: **     Just like printf, except outputs the process name first.
        !            10: **
        !            11: **     Parameters:
        !            12: **             fmt -- the format.
        !            13: **             p1 - p6 -- the parameters.
        !            14: **
        !            15: **     Returns:
        !            16: **             none
        !            17: **
        !            18: **     Side Effects:
        !            19: **             none
        !            20: **
        !            21: **     Trace Flags:
        !            22: **             none
        !            23: */
        !            24: 
        !            25: lprintf(fmt, p1, p2, p3, p4, p5, p6)
        !            26: char   *fmt;
        !            27: {
        !            28:        extern char     *Proc_name;
        !            29: 
        !            30:        if (Proc_name != NULL)
        !            31:                printf("%s: ", Proc_name);
        !            32:        printf(fmt, p1, p2, p3, p4, p5, p6);
        !            33: }

unix.superglobalmegacorp.com

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