untimeout(9r)untimeout(9r)NAMEuntimeout - General: Removes the scheduled routine from the callout
queues
SYNOPSIS
boolean_t untimeout(
int (*function) (),
caddr_t argument );
ARGUMENTS
Specifies a pointer to the routine to be removed from the callout
queues. Specifies a single argument to be passed to the called rou‐
tine.
DESCRIPTION
The untimeout routine removes the scheduled routine from the callout
queue. The specified routine was placed on the callout queue in a pre‐
vious call to the timeout routine. The argument formal parameter must
match the argument parameter you specified in the previous call to
timeout.
If the specified routine is not in the callout queue, untimeout returns
without removing any scheduled routines.
RETURN VALUES
The untimeout routine returns the value TRUE on success and the value
FALSE on failure.
SEE ALSO
Routines: timeout(9r)untimeout(9r)