void PDC_debug(const char *, ...);
Description:
- traceon() and traceoff() toggle the recording of debugging
- information to the file "trace". Although not standard, similar
+ traceon() and traceoff() toggle the recording of debugging
+ information to the file "trace". Although not standard, similar
functions are in some other curses implementations.
- PDC_debug() is the function that writes to the file, based on
- whether traceon() has been called. It's used from the PDC_LOG()
+ PDC_debug() is the function that writes to the file, based on
+ whether traceon() has been called. It's used from the PDC_LOG()
macro.
Portability X/Open BSD SYS V
time_t now;
if (!pdc_trace_on)
- return;
+ return;
/* open debug log file append */