MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                        unbufcall(9F)



NAME
     unbufcall - cancel a pending bufcall request

SYNOPSIS
     #include 



     void unbufcall(bufcallidt id);


INTERFACE LEVEL
     Architecture independent level 1 (DI/DKI).

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


DESCRIPTION
     The unbufcall function cancels a pending bufcall() or  esbb-
     call() request. The argument id is a non-zero identifier for
     the request to be cancelled. id is returned  from  the  buf-
     call()  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
     The unbufcall function can be called from  user,  interrupt,
     or kernel context.

SEE ALSO
     bufcall(9F), esbbcall(9F)


     Writing Device Drivers


     STREAMS Programming Guide












SunOS 5.11          Last change: 16 Jan 2006                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™