NAME
warn_pso - Printing to stdout with the prefix "<< Warning >> ".
SYNOPSIS
#include "l/l_verbose.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
long warn_pso
(
const char *format_str,
...
);
DESCRIPTION
This routine writes a formatted string to stdout with the prefix
"<< Warning >> " pre-pended to each line. Otherwise it is similar to pso.
Specifically, it is similar to kjb_fprintf with respect to extended
formatting options and paging.
Warnings can be suppressed by the user with "set warnings = off" or by the
programmer by setting up the approprate call to the option infrastructure.
RETURNS
Returns the number of characters written. ERROR is returned if there is
an error.
SEEALSO
warn_puts, 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_verbose_level
,
kjb_get_verbose_level
,
verbose_pso
,
verbose_puts
,
warn_puts
,
interactive_pso
,
interactive_puts