3 * Rob Zimmermann. All rights reserved.
5 * Keith Bostic. All rights reserved.
7 * See the LICENSE file for redistribution information.
13 static const char sccsid
[] = "$Id: trace.c,v 8.4 1997/08/03 15:04:23 bostic Exp $ (Berkeley) $Date: 1997/08/03 15:04:23 $";
16 #include <sys/queue.h>
18 #include <bitstring.h>
37 * PUBLIC: void vtrace_end __P((void));
42 if (tfp
!= NULL
&& tfp
!= stderr
)
50 * PUBLIC: void vtrace_init __P((char *));
56 if (name
== NULL
|| (tfp
= fopen(name
, "w")) == NULL
)
58 vtrace("\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\nTRACE\n");
63 * Debugging trace routine.
65 * PUBLIC: void vtrace __P((const char *, ...));
69 vtrace(const char *fmt
, ...)
86 (void)vfprintf(tfp
, fmt
, ap
);