📄 untimeout.9
字号:
'\" tr.\" -*- nroff -*-.\".\" @(#) untimeout.9,v 1.1.4.1 2004/01/12 23:33:12 brian Exp.\".\" =========================================================================.\".\" Copyright (C) 2001-2004 OpenSS7 Corp. <www.openss7.com>.\".\" All Rights Reserved..\".\" Permission is granted to make and distribute verbatim copies of this.\" manual provided the copyright notice and this permission notice are.\" preserved on all copies..\".\" Permission is granted to copy and distribute modified versions of this.\" manual under the conditions for verbatim copying, provided that the.\" entire resulting derived work is distributed under the terms of a.\" permission notice identical to this one.\" .\" Since the Linux kernel and libraries are constantly changing, this.\" manual page may be incorrect or out-of-date. The author(s) assume no.\" responsibility for errors or omissions, or for damages resulting from.\" the use of the information contained herein. The author(s) may not.\" have taken the same level of care in the production of this manual,.\" which is licensed free of charge, as they might when working.\" professionally..\" .\" Formatted or processed versions of this manual, if unaccompanied by.\" the source, must acknowledge the copyright and authors of this work..\".\" =========================================================================.\".\" Modified 2004/01/12 23:33:12 by brian.\".\" =========================================================================.so lis.macros.R1bracket-label "\fR[\fB" "\fR]" "\fR, \fB"no-default-databasedatabase lis.refsaccumulatemove-punctuationabbreviate Ajoin-authors ", " ", " " and "et-al " et al" 2 3abbreviate-label-ranges ".."sort-adjacent-labels.R2.\".\".TH UNTIMEOUT 9 "2004/01/12 23:33:12" "LiS-2_16_18-8" "Linux STREAMS DDI/DKI".SH NAME.B untimeout, lis_untimeout\- stop a timer.SH SYNOPSIS.PP.B #include <sys/stream.h>.br.B #include <sys/dki.h>.HP 8.BI "toid_t " retval " = untimeout(toid_t " tid );.SH DESCRIPTION.PP.BR untimeout ()stops a timer previously started with.BR timeout (9)..I tidis the timer identifier that was returned from a previous call to.BR timeout (9)..PP.BR untimeout ()is typically used to stop timers before they expire, and to deallocate timersbefore a stream is closed..SH "RETURN VALUES".PP.BR untimeout ()returns a.B timo_tdefined as follows:.sp.nftypedef int toid_t;typedef int timeout_id_t;.fi.PPThe return value from.BR untimeout ()is undefined and ignored..SH ERRORS.PP.BR untimeout ()fails silently.IR "" ( retvalis ignored) whenthe timer associated with the timer identifier.I tidno longer exists or is invalid..SH CAVEATS.PP.B LiS.[LiS.]provides a wrapper to Linux Kernel timer functions to implement.BR timeout ()..BR LiS 'simplementation.[LiS.]creates a Linux timer structure, assigns it a sequentialinteger timer identifier, and places it in a timer list.Whenever.B LiS.[LiS.]stops a timer, it checks the list for the integer timer identifier withinterrupts disabled. This is an exhaustive linear search. This isinefficient..IR STREAMS (4)modules or drivers that stop timers often will experience poorer performancethan if the Linux kernel timer facility was useddirectly..SH "SEE ALSO".PP.BR timeout (9)..SH VERSIONS.PPThis manpage was written for.B LiS\c..[LiS.].PP.BR untimeout ()first appeared in SVR 2..\".\".XX.[magic.].[svr42.].[svr4.].\".\".[$LIST$.].TA
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -