[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    unbufcall(9F) manual page Table of Contents

Name

unbufcall - cancel a pending bufcall request

Synopsis


#include <sys/stream.h>

void unbufcall(int id);

Interface Level

Architecture independent level 1 (DDI/DKI).

Arguments

id
Identifier returned from bufcall(9F) or esbbcall(9F) .

Description

unbufcall cancels a pending bufcall() or esbbcall() request. The argument id is a non-zero identifier for the request to be cancelled. id is returned from the bufcall() or esbbcall() function used to issue the request.

unbufcall() will not return until the pending callback is cancelled or has run. Because of this, locks acquired by the callback routine should not be held across the call to unbufcall() or deadlock may result.

Return Values

None.

Context

unbufcall() can be called from user or interrupt context.

See Also

bufcall(9F) , esbbcall(9F)



Table of Contents