DESIGN (xvwidgets) functions
LIBRARY ROUTINE
xvw_remove_detectfile - remove a (file) detect handler from an object
LIBRARY CALL
void xvw_remove_detectfile(
xvobject object,
char *filename,
int (*routine)(xvobject, char *, kaddr),
kaddr client_data)
INPUT
- object - object in which to remove the detect file
handler, if NULL then removed from the global
list.
- filename - the name of the file that was being monitored.
- routine - the detect handler routine which was being
called when change to the file was detected.
- - object in which to remove the detect file
handler, if NULL then removed from the global
list.
- client_data - pointer to private application data that
was being passed to action handler
OUTPUT
none
RETURN VALUE
none
DESCRIPTION
Causes the detection mechanism previously installed with
xvw_add_detectfile() to be removed from the specified
file descriptor.
If the detect handler was associated with an object, the
file detection will be automatically removed when the object
is destroyed. Alternatively, it can be removed before the
object is destroyed by using this routine. If NULL was
passed to xvw_add_detectfile() for the object, then
you must call this routine if you need to remove the installed
detect handler.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$DESIGN/objects/library/xvwidgets/src/file.c
SEE ALSO
xvwidgets(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.