Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bufcall(9F)

esbbcall(9F)

unbufcall(9F)

NAME

unbufcall − cancel a pending bufcall request

SYNOPSIS

#include <sys/stream.h>
void unbufcall(int id);

ARGUMENTS

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

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI). 

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)

Writing Device Drivers
STREAMS Programmer’s Guide

SunOS 5.4  —  Last change: 19 Nov 1992

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