quntimeout man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

QUNTIMEOUT(9F)							QUNTIMEOUT(9F)

NAME
       quntimeout - cancel previous qtimeout function call

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

       clock_t quntimeout(queue_t *q, timeout_id_t id);

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI).

PARAMETERS
       q
	     Pointer to a STREAMS queue structure.

       id
	     Opaque timeout ID a previous qtimeout(9F) call.

DESCRIPTION
       The  quntimeout() function 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).) quntimeout() returns when the timeout  has  been  can‐
       celled  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 mod‐
       ule close returns. All outstanding timeouts and bufcalls must  be  can‐
       celled  before  a  driver  close routine can block and before the close
       routine calls qprocsoff(9F).

RETURN VALUES
       The quntimeout() function returns -1 if the id is  not  found.	Other‐
       wise, quntimeout() returns a 0 or positive value.

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

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

       Writing Device Drivers

       STREAMS Programming Guide

				 Jan 16, 2006			QUNTIMEOUT(9F)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net