Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mt-streams(9F)

qbufcall(9F)

qtimeout(9F)

quntimeout(9F)

qunbufcall(9F)

NAME

qunbufcall − cancel a pending qbufcall request

SYNOPSIS

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

void qunbufcall(queue_t ∗q, int id);

INTERFACE LEVEL

Solaris DDI specific (Solaris DDI). 

ARGUMENTS

q Pointer to STREAMS queue_t structure. 

id Identifier returned from qbufcall(9F)

DESCRIPTION

qunbufcall cancels a pending qbufcall() request. The argument id is a non-zero identifier of the request to be cancelled.  id is returned from the qbufcall() function used to issue the cancel request. 

The qunbufcall() function is tailored to be used with the enhanced STREAMS framework interface which is based on the concept of perimeters. (See mt-streams(9F) man page.)  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 bufcalls should be cancelled before the driver closes or module returns. 

CONTEXT

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

SEE ALSO

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

Writing Device Drivers
STREAMS Programming Guide

SunOS 5.5/x86  —  Last change: 10 Jan 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026