File:  [CSRG BSD Unix] / 43BSD / ingres / source / gutil / lprintf.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

# include	<useful.h>
# include	<sccs.h>

SCCSID(@(#)lprintf.c	8.1	12/31/84)

/*
**  LPRINTF -- labelled printf
**
**	Just like printf, except outputs the process name first.
**
**	Parameters:
**		fmt -- the format.
**		p1 - p6 -- the parameters.
**
**	Returns:
**		none
**
**	Side Effects:
**		none
**
**	Trace Flags:
**		none
*/

lprintf(fmt, p1, p2, p3, p4, p5, p6)
char	*fmt;
{
	extern char	*Proc_name;

	if (Proc_name != NULL)
		printf("%s: ", Proc_name);
	printf(fmt, p1, p2, p3, p4, p5, p6);
}

unix.superglobalmegacorp.com

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