NAME

test_pso - Printing to stdout 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_pso
(
	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_PSO. Other behaviour is similar to pso. 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_PSO macro.

MACROS

This routine is normally accessed using the macro TEST_PSO which sets things up so that the printing only occurrs if TEST is defined. If TEST is not defined, then TEST_PSO becomes nothing (IE, it is removed by the pre-processor). TEST_PSO is used as follows:
    TEST_PSO(( <format>, arg1, arg2, ....)); // Note DOUBLE parens!

MACROS TEST_PSO

NOTE

More often than not, one is better off instead using test_pse() via the macro TEST_PSE().

SEEALSO

pse, pso, 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_pse