This is tprintf.h in view mode; [Download] [Up]
/* * $Id: tprintf.h,v 1.1 1997/04/02 18:28:57 croehrig Exp $ * * tprintf - a thread-safe interface to printf */ #ifndef TPRINTF_H_INCLUDED #define TPRINTF_H_INCLUDED extern void tprintf_init(); /* * Initialize the printf lock. Call before you fork new threads. */ extern void tprintf( const char *fmt, ... ); /* * Thread safe version of printf. */ extern void dbgmsg( const char *fmt, ... ); /* * Same as printf, but only prints if dbgtrace is TRUE. */ /* Set this to TRUE to enable dbgmsg's. It's FALSE by default. */ extern int dbgtrace; #endif /* TPRINTF_H_INCLUDED */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.