QP_remove_*()

Synopsis

     #include <quintus/quintus.h>
     
     int QP_remove_input(id)
     int  id;
     
     int QP_remove_output(id)
     int  id;
     
     int QP_remove_exception(id)
     int  id;
     
     int QP_remove_timer(timerid)
     int  timerid;
     

These C functions remove registered input/output or timing callback functions.

Description

QP_remove_input() removes any input callback functions registrations for the file descriptor id. Similarly, QP_remove_output() and QP_remove_exception() remove output and exception callbacks respectively.

QP_remove_timer() removes timer callback identified by timerid, which is the value returned by QP_add_timer() or QP_add_absolute_timer().

Return Values


QP_SUCCESS
If the callback is removed
QP_ERROR
Otherwise

See Also

QP_add_*(), QP_select(), QP_wait_input()