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)

qunbufcall(9F)

quntimeout(9F)

NAME

quntimeout − cancel previous qtimeout function call

SYNOPSIS

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

int quntimeout(queue_t ∗q, int id );

INTERFACE LEVEL

Solaris DDI specific (Solaris DDI). 

ARGUMENTS

q Pointer to a STREAMS queue structure. 

id Identification value generated by a previous qtimeout(9F) function call. 

DESCRIPTION

quntimeout() cancels a pending qtimeout(9F) request. The quntimeout() 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. ) quntimeout() returns when the timeout has been cancelled or finished executing.  The timeout will be cancelled even if it is blocked at the perimeters associated with the queue.  quntimeout() should be executed for all outstanding timeouts before a driver or module close returns. 

RETURN VALUES

quntimeout() returns -1 if the id is not found. Otherwise, quntimeout() returns a zero or positive value. 

CONTEXT

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

SEE ALSO

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

Writing Device Drivers
STREAMS Programming Guide

SunOS 5.5/x86  —  Last change: 10 Jan 1993

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