NAME
test_pse - Printing to stderr with <<TEST>> prefix
SYNOPSIS
#include "l/l_debug.h"
Example compile flags (system dependent):
-DLINUX_386 -DLINUX_386_P4
-I/home/kobus/include
-L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
-lKJB -llapack -lblas -lg2c -lXext -lX11
void test_pse
(
const char *format_str,
...
);
DESCRIPTION
This routine writes a formatted string to stdout with each lined prefixed
with <<TEST>>. Normally this routine is only used indirectly using the macro
TEST_PSE. Other behaviour is similar to p_stderr. Specifically, it is similar
to kjb_fprintf with respect to extended formatting options and paging.
RETURNS
Return is void, as it is normally used with the TEST_PSE macro.
MACROS
This routine is normally accessed using the macro TEST_PSE which sets
things up so that the printing only occurrs if TEST is defined. If TEST
is not defined, then TEST_PSE becomes nothing (IE, it is removed by the
pre-processor). TEST_PSE is used as follows:
TEST_PSE(( <format>, arg1, arg2, ....)); // Note DOUBLE parens!
MACROS
TEST_PSE
SEEALSO
p_stderr, kjb_fprintf
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTOR
Kobus Barnard
SEE ALSO
kjb_set_debug_level
,
kjb_get_debug_level
,
hex_print
,
test_pso