BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kset_infohandler - set the information handling routine used by kinfo()

LIBRARY CALL

knotify kset_infohandler(
   knotify new_handler)

INPUT

OUTPUT

none

RETURN VALUE

the previously installed information handler, or NULL if the default information handler was installed.

DESCRIPTION

Sets the information handler routine to be used by the kinfo() reporting facility. When set to NULL (the default) the standard Khoros information handler will be used, which reports to standard error.

If a different info handler is set, the info handler must be declared as follows, and should return TRUE.

info_handler( char *message )

message - message to give the user

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.