qunbufcall(9f) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

qunbufcall(9f)

qunbufcall(9F)                 Kernel Functions                 qunbufcall(9F)

NAME
       qunbufcall - cancel a pending qbufcall request

SYNOPSIS
       #include <sys/stream.h>
       #include <sys/ddi.h>

       void qunbufcall(queue_t *q, bufcall_id_t id);

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI).

PARAMETERS
       q     Pointer to STREAMS queue_t structure.


       id    Identifier returned from qbufcall(9F).


DESCRIPTION
       The qunbufcall() function cancels a pending qbufcall() request. The ar‐
       gument  id  is a non-zero identifier of the request to be cancelled. id
       is returned from the qbufcall() function used to issue the  cancel  re‐
       quest.


       The  qunbufcall()  function  is  tailored  to be used with the enhanced
       STREAMS framework interface which is based on the  concept  of  perime‐
       ters.  (See  mt-streams(9F).) qunbufcall() returns when the bufcall has
       been cancelled or finished executing. The  bufcall  will  be  cancelled
       even  if it is blocked at the perimeters associated with the queue. All
       outstanding timeouts and bufcalls must be  cancelled  before  a  driver
       close  routine  can  block  and  before  the close routine calls qproc‐
       soff(9F).

CONTEXT
       The qunbufcall() function can be called from user, interrupt, or kernel
       context.

SEE ALSO
       mt-streams(9F), qbufcall(9F), qtimeout(9F), quntimeout(9F)


       Writing Device Drivers in Oracle Solaris 11.4


       STREAMS Programming Guide

Oracle Solaris 11.4               16 Jan 2006                   qunbufcall(9F)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3