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: }

Defined functions

lprintf defined in line 4; never used
Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 957
Valid CSS Valid XHTML 1.0 Strict