kwarn - print warning messages in a standardized format
LIBRARY CALL
int kwarn(
char *library,
char *routine,
char *format,
kvalist)
INPUT
library - name of library (NULL if not applicable)
routine - name of routine
format - grammatically correct, clear explanation of
the warning that occurred. This can be formatted
like a printf statement
OUTPUT
none
RETURN VALUE
TRUE if the error was successfully acknowledge,
otherwise if the message was not acknowledged FALSE
is returned.
DESCRIPTION
kwarn produces standardized warning messages for
Khoros library routines and applications. It should be
called in EVERY instance of warning messaging by EVERY Khoros
function, subroutine, or main program.
If library is NULL then the program name will be used
as the source of the warning.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kutils/src/notify.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.