亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? eventlib.mdoc

?? bind 9.3結合mysql數據庫
?? MDOC
?? 第 1 頁 / 共 2 頁
字號:
.\" $Id: eventlib.mdoc,v 1.1.2.1.10.1 2004/03/09 08:33:43 marka Exp $.\".\" Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC").\" Copyright (c) 1995-1999 by Internet Software Consortium.\".\" Permission to use, copy, modify, and distribute this software for any.\" purpose with or without fee is hereby granted, provided that the above.\" copyright notice and this permission notice appear in all copies..\".\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF.\" MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT.\" OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE..\".Dd March 6, 1996.Dt EVENTLIB 3.Os BSD 4.Sh NAME.Nm evConnFunc ,.Nm evFileFunc ,.Nm evStreamFunc ,.Nm evTimerFunc ,.Nm evWaitFunc ,.Nm evCreate ,.Nm evDestroy ,.Nm evGetNext ,.Nm evDispatch ,.Nm evDrop ,.Nm evMainLoop ,.Nm evConsTime ,.Nm evTimeSpec ,.Nm evTimeVal ,.Nm evAddTime ,.Nm evSubTime ,.Nm evCmpTime ,.Nm evNowTime ,.Nm evUTCTime ,.Nm evLastEventTime ,.Nm evSetTimer ,.Nm evResetTimer ,.Nm evConfigTimer ,.Nm evClearTimer ,.Nm evSetIdleTimer ,.Nm evTouchIdleTimer ,.Nm evClearIdleTimer ,.Nm evWaitFor ,.Nm evDo ,.Nm evUnwait ,.Nm evDefer ,.Nm evSelectFD ,.Nm evDeselectFD ,.Nm evWrite ,.Nm evRead ,.Nm evCancelRW ,.Nm evTimeRW ,.Nm evUntimeRW ,.Nm evListen ,.Nm evConnect ,.Nm evCancelConn ,.Nm evHold ,.Nm evUnhold ,.Nm evTryAccept ,.Nm evConsIovec ,.Nm evSetDebug ,.Nm evPrintf ,.Nm evInitID ,.Nm evTestID ,.Nm evGetOption ,.Nm evSetOption.Nd event handling library.Sh SYNOPSIS.Fd #include <isc/eventlib.h>.Ft typedef void.Fn \*(lp*evConnFunc\*(rp "evContext ctx" "void *uap" "int fd" \"const void *la" "int lalen" "const void *ra" "int ralen".Ft typedef void.Fn \*(lp*evTimerFunc\*(rp "evContext ctx" "void *uap" \"struct timespec due" "struct timespec inter".Ft typedef void.Fn \*(lp*evFileFunc\*(rp "evContext ctx" "void *uap" "int fd" "int eventmask".Ft typedef void.Fn \*(lp*evStreamFunc\*(rp "evContext ctx" "void *uap" "int fd" "int bytes".Ft typedef void.Fn \*(lp*evWaitFunc\*(rp "evContext ctx" "void *uap" "const void *tag".Ft int.Fn evCreate "evContext *ctx".Ft int.Fn evDestroy "evContext ctx".Ft int.Fn evGetNext "evContext ctx" "evEvent *ev" "int options".Ft int.Fn evDispatch "evContext ctx" "evEvent ev".Ft void.Fn evDrop "evContext ctx" "evEvent ev".Ft int.Fn evMainLoop "evContext ctx".Ft struct timespec.Fn evConsTime "int sec" "int usec".Ft struct timespec.Fn evTimeSpec "struct timeval tv".Ft struct timeval.Fn evTimeVal "struct timespec ts".Ft struct timespec.Fn evAddTime "struct timespec addend1" "struct timespec addend2".Ft struct timespec.Fn evSubTime "struct timespec minuend" "struct timespec subtrahend".Ft struct timespec.Fn evCmpTime "struct timespec a" "struct timespec b".Ft struct timespec.Fn evNowTime "void".Ft struct timespec.Fn evUTCTime "void".Ft struct timespec.Fn evLastEventTime "evContext opaqueCtx".Ft int.Fn evSetTimer "evContext ctx" "evTimerFunc func" "void *uap" \"struct timespec due" "struct timespec inter" "evTimerID *id".Ft int.Fn evResetTimer "evContext ctx" "evTimerID id" "evTimerFunc func" \"void *uap" "struct timespec due" "struct timespec inter".Ft int.Fn evConfigTimer "evContext ctx" "evTimerID id" "const char *param" \"int value".Ft int.Fn evClearTimer "evContext ctx" "evTimerID id".Ft int.Fn evSetIdleTimer "evContext opaqueCtx" "evTimerFunc func" "void *uap" \"struct timespec max_idle" "evTimerID *opaqueID".Ft int .Fn evTouchIdleTimer "evContext opaqueCtx" "evTimerID id".Ft int .Fn evResetIdleTimer "evContext opaqueCtx" "evTimerID id" "evTimerFunc func" \"void *uap" "struct timespec max_idle".Ft int.Fn evClearIdleTimer "evContext opaqueCtx" "evTimerID id".Ft int.Fn evWaitFor "evContext opaqueCtx" "const void *tag" \"evWaitFunc func" "void *uap" "evWaitID *id".Ft int.Fn evDo "evContext opaqueCtx" "const void *tag".Ft int.Fn evUnwait "evContext opaqueCtx" "evWaitID id".Ft int.Fn evDefer "evContext opaqueCtx" "evWaitFunc func" "void *uap".Ft int.Fn evSelectFD "evContext ctx" "int fd" "int eventmask" \"evFileFunc func" "void *uap" "evFileID *id".Ft int.Fn evDeselectFD "evContext ctx" "evFileID id".Ft struct iovec.Fn evConsIovec "void *buf" "size_t cnt".Ft int.Fn evWrite "evContext ctx" "int fd" "const struct iovec *iov" "int cnt" \"evStreamFunc func" "void *uap" "evStreamID *id".Ft int.Fn evRead "evContext ctx" "int fd" "const struct iovec *iov" "int cnt" \"evStreamFunc func" "void *uap" "evStreamID *id".Ft int.Fn evCancelRW "evContext ctx" "evStreamID id".Ft int.Fn evTimeRW "evContext opaqueCtx" "evStreamID id" "evTimerID timer".Ft int.Fn evUntimeRW "evContext opaqueCtx" "evStreamID id".Ft int.Fn evListen "evContext ctx" "int fd" "int maxconn" \"evConnFunc func" "void *uap" "evConnID *id".Ft int.Fn evConnect "evContext ctx" "int fd" "void *ra" "int ralen" \"evConnFunc func" "void *uap" "evConnID *id".Ft int.Fn evCancelConn "evContext ctx" "evConnID id".Ft int.Fn evHold "evContext ctx" "evConnID id".Ft int.Fn evUnhold "evContext ctx" "evConnID id".Ft int.Fn evTryAccept "evContext ctx" "evConnID id" "int *sys_errno".Ft void.Fn evSetDebug "evContext ctx" "int level" "FILE *output".Ft void.Fn evPrintf "const evContext_p *ctx" "int level" "const char *fmt" "...".Ft void.Fn evInitID "*\s-1ID\s+1".Ft int.Fn evTestID "\s-1ID\s+1".Ft int.Fn evGetOption "evContext *ctx" "const char *option" "int *ret".Ft int.Fn evSetOption "evContext *ctx" "const char *option" "int val".Sh DESCRIPTIONThis library provides multiple outstanding asynchronous timers and I/Oto a cooperating application.  The model is similar to that of the XToolkit, in that events are registered with the library and the applicationspends most of its time in the.Fn evMainLoopfunction.  If an application already has a main loop, it can safely registerevents with this library as long as it periodically calls the.Fn evGetNextand.Fn evDispatchfunctions.  (Note that.Fn evGetNexthas both polling and blocking modes.).PpThe function.Fn evCreatecreates an event context which is needed by all the other functions in thislibrary.  All information used internally by this library is bound to thiscontext, rather than to static storage.  This makes the library .Dq thread safe ,and permits other library functions to use events withoutdisrupting the application's use of events..PpThe function.Fn evDestroydestroys a context that has been created by.Fn evCreate .All dynamic memory bound to this context will be freed.  An implicit.Fn evTimerClearwill be done on all timers set in this event context.  An implicit.Fn evDeselectFDwill be done on all file descriptors selected in this event context..PpThe function.Fn evGetNextpotentially waits for and then retrieves the next asynchronous event,placing it in the object of the.Fa evpointer argument.  The following.Fa optionsare available:.Fa EV_POLL ,meaning that.Fn evGetNextshould not block, but rather return.Dq Fa -1with.Fa errnoset to.Fa EWOULDBLOCKif no events have occurred;.Fa EV_WAIT ,which tells.Fn evGetNextto block internally until the next event occurs; and.Fa EV_NULL ,which tells.Fn evGetNextthat it should return a special .Dq no-op event, which is ignored by.Fn evDispatchbut handled correctly by.Fn evDrop ..Fa EV_NULLcan be necessary to the correct functioning of a caller\-written equivilent to.Fn evMainLoop ,wherein perterbations caused by external system events must be polled for, andthe default behaviour of internally ignoring such events is undesirable.Note that.Fa EV_POLLand.Fa EV_WAITare mutually exclusive..PpThe function.Fn evDispatchdispatches an event retrieved by.Fn evGetNext .This usually involves calling the function that was associated with the eventwhen the event was registered with.Fn evSetTimer ,.Fn evResetTimer ,or.Fn evSelectFD .All events retrieved by.Fn evGetNextmust be given over to.Fn evDispatchat some point, since there is some dynamic memory associated with each event..PpThe function.Fn evDropdeallocates dynamic memory that has been allocated by.Fn evGetNext .Calling.Fn evDispatchhas the side effect of calling.Fn evDrop ,but if you are going to drop the event rather than dispatch it, you will haveto call.Fn evDropdirectly..PpThe function.Fn evMainLoopis just:.Bd -literal -offset indentwhile ((x = evGetNext(opaqueCtx, &event, EV_WAIT)) == 0)	if ((x = evDispatch(opaqueCtx, event)) < 0)		break;return (x);.Ed.PpIn other words, get events and dispatch them until an error occurs.  One sucherror would be that all the events under this context become unregistered; inthat event, there will be nothing to wait for and.Fn evGetNextbecomes an undefined operation..PpThe function.Fn evConsTimeis a constructor for.Dq Fa struct timespecwhich allows these structures to be created and then passed as arguments toother functions without the use of temporary variables.  (If C had inlineconstructors, there would be no need for this function.).PpThe functions.Fn evTimeSpecand.Fn evTimeVal are utilities which allow the caller to convert a.Dq Fa struct timevalto a .Dq Fa struct timespec(the function of.Fn evTimeSpec )or vice versa (the function of.Fn evTimeVal ) .Note that the name of the function indicates the type of the return value..PpThe function.Fn evAddTimeadds two.Dq Fa struct timespecvalues and returns the result as a.Dq Fa struct timespec ..PpThe function.Fn evSubTimesubtracts its second.Dq Fa struct timespecargument from its first.Dq Fa struct timespecargument and returns the result as a.Dq Fa struct timespec ..PpThe function.Fn evCmpTimecompares its two.Dq Fa struct timespecarguments and returns an.Dq Fa intthat is less than zero if the first argument specifies an earlier time thanthe second, or more than zero if the first argument specifies a later timethan the second, or equal to zero if both arguments specify the same time..PpThe function.Fn evNowTimereturns a.Dq Fa struct timespecwhich either describes the current time(using.Xr clock_gettime 2 or.Xr gettimeofday 2 ) ,if successful, or has its fields set to zero, if there is an error.(In the latter case, the caller can check.Va errno ,since it will be set by.Xr gettimeofday 2 . )The timestamp returned may not be UTC time ifthe "monotime" option has been enabled with.Fn evSetOption ..PpThe function .Fn evUTCTimeis like .Fn evNowTimeexcept the result is always on the UTC timescale..PpThe function.Fn evLastEventTime returns the.Dq Fa struct timespecwhich describes the last time that certain events happened to the event context indicated by .Fa opaqueCtx .This value is updated by.Fn evCreate and.Fn evGetNext (upon entry and after.Xr select 2returns); it is routinely compared with other times in the internal handlingof, e.g., timers..PpThe function.Fn evSetTimerregisters a timer event, which will be delivered as a function call to thefunction specified by the.Fa funcargument.  The event will be delivered at absolute time.Fa due ,and then if time.Fa interis not equal to.Dq Fn evConsTime 0 0 ,subsequently at intervals equal to time.Fa inter .As a special case, specifying a.Fa dueargument equal to.Dq Fn evConsTime 0 0means .Dq due immediately .The.Fa opaqueIDargument, if specified as a value other than.Fa NULL ,will be used to store the resulting .Dq timer \s-1ID\s+1 , useful as an argument to.Fn evClearTimer .Note that in a .Dq one\-shot timer (which has an.Fa interargument equal to.Dq Fa evConsTime(0,0) )the user function.Fa funcshould deallocate any dynamic memory that is uniquely bound to the.Fa uap ,since no handles to this memory will exist within the event libraryafter a one\-shot timer has been delivered..PpThe function.Fn evResetTimerresets the values of the timer specified by.Fa idto the given arguments.  The arguments are the same as in the description of.Fn evSetTimerabove..PpThe function.Fn evClearTimerwill unregister the timer event specified by.Fa id .Note that if the.Fa uapspecified in the corresponding.Fn evSetTimercall is uniquely bound to any dynamic memory, then that dynamic memory shouldbe freed by the caller before the handle is lost.  After a call to.Fn evClearTimer ,no handles to this

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人做爰69片免费看网站| 最新中文字幕一区二区三区| 天涯成人国产亚洲精品一区av| 91污片在线观看| 亚洲一区二区三区影院| 欧美高清www午色夜在线视频| 三级欧美在线一区| 日韩三级精品电影久久久 | 国产一区二区三区在线观看免费视频| 亚洲综合自拍偷拍| 欧美日韩夫妻久久| 久久激情五月激情| 欧美激情自拍偷拍| 色婷婷综合在线| 免费在线视频一区| 久久久精品国产免大香伊| 成人黄色a**站在线观看| 亚洲精品欧美综合四区| 欧美日韩国产电影| 国产精品一二三四| 夜夜精品视频一区二区| 精品免费日韩av| 色哦色哦哦色天天综合| 美腿丝袜亚洲色图| 一区在线播放视频| 日韩亚洲欧美中文三级| 99久久久久免费精品国产| 亚洲高清免费观看| 国产日产欧美一区二区三区| 欧美性猛交一区二区三区精品| 青娱乐精品在线视频| 亚洲视频1区2区| 精品久久久影院| 在线日韩一区二区| 狠狠色综合日日| 亚洲123区在线观看| 国产欧美日韩视频在线观看| 欧美日韩精品是欧美日韩精品| 国产中文字幕一区| 婷婷一区二区三区| **网站欧美大片在线观看| 精品国产一区二区在线观看| 欧美亚洲一区二区在线| 国产精品18久久久久久vr| 日韩电影一区二区三区| 亚洲人吸女人奶水| 久久久不卡影院| 91精品国产综合久久婷婷香蕉| 99精品视频中文字幕| 国产在线国偷精品免费看| 亚洲国产视频在线| 亚洲三级免费观看| 国产女人aaa级久久久级| 日韩欧美电影一二三| 色婷婷国产精品| 成人黄色免费短视频| 精品亚洲porn| 日韩中文字幕不卡| 一区二区视频免费在线观看| 国产视频视频一区| 精品国产乱码久久久久久免费| 欧美军同video69gay| 日本电影亚洲天堂一区| 成人妖精视频yjsp地址| 国产一区二区不卡在线| 久久精品国产999大香线蕉| 亚洲成a人在线观看| 亚洲高清免费视频| jlzzjlzz国产精品久久| 国产成人av电影| 九九九精品视频| 紧缚捆绑精品一区二区| 久久精品国产在热久久| 麻豆精品视频在线观看| 蜜芽一区二区三区| 久久精品噜噜噜成人av农村| 久久精品国产免费看久久精品| 日本不卡123| 蜜臀av性久久久久蜜臀aⅴ| 日韩精品一二三四| 日本欧美肥老太交大片| 六月丁香婷婷色狠狠久久| 麻豆精品视频在线| 国产一区免费电影| 国产成人亚洲精品青草天美| 丁香婷婷综合激情五月色| 懂色av一区二区三区免费看| 国产99久久久久久免费看农村| 国产成人午夜电影网| 播五月开心婷婷综合| 色综合中文字幕国产| 99国产欧美另类久久久精品| 色综合久久中文综合久久牛| 欧美日韩日日夜夜| 日韩美女一区二区三区四区| 久久综合av免费| 国产精品初高中害羞小美女文| 1区2区3区欧美| 亚洲图片自拍偷拍| 极品美女销魂一区二区三区免费 | 国产综合久久久久久久久久久久| 国产伦精品一区二区三区视频青涩 | 日韩av成人高清| 国产精品一卡二卡| 色欧美片视频在线观看在线视频| 欧美精品成人一区二区三区四区| 精品国产乱码久久久久久老虎| 中文字幕一区日韩精品欧美| 亚洲国产三级在线| 国产一区二区美女诱惑| 色中色一区二区| 精品欧美乱码久久久久久| 中文字幕在线不卡一区| 亚洲电影中文字幕在线观看| 黄页网站大全一区二区| 色香蕉成人二区免费| 欧美岛国在线观看| 亚洲激情网站免费观看| 日本成人在线不卡视频| thepron国产精品| 日韩三级中文字幕| 亚洲精品你懂的| 国内成人免费视频| 91成人在线免费观看| 久久久久久免费| 午夜精品免费在线| www.激情成人| 在线播放中文一区| 综合网在线视频| 久久97超碰国产精品超碰| 色94色欧美sute亚洲线路一ni| 欧美成人性战久久| 国产精品一级片在线观看| 国产精品一级在线| 91精品福利视频| 精品国产乱码久久久久久牛牛| 亚洲黄色性网站| 国产精品一卡二| 欧美一级片免费看| 亚洲国产欧美一区二区三区丁香婷| 狠狠色狠狠色综合| 91精品国产全国免费观看| 1000精品久久久久久久久| 国产在线一区观看| 欧美一区二区视频在线观看2022| 亚洲欧美日韩在线| 成人高清免费观看| 国产欧美综合在线观看第十页| 久久99精品国产.久久久久久| 欧美日韩一区二区三区四区 | 国产精品影视天天线| 欧美一级欧美三级| 日韩经典中文字幕一区| 在线观看一区二区视频| 国产精品久久毛片av大全日韩| 国产精品一区二区久激情瑜伽| 欧美成人三级在线| 91免费看片在线观看| 成人黄色在线看| 国产亚洲欧美色| 激情欧美日韩一区二区| 日韩三区在线观看| 免费在线一区观看| 在线精品亚洲一区二区不卡| 国产精品五月天| 高清beeg欧美| 中文字幕第一页久久| 国产大陆亚洲精品国产| 欧美精品一区二区在线播放 | 国产精品成人免费在线| 成人av在线资源网| 亚洲同性同志一二三专区| 成年人午夜久久久| 亚洲精品日韩专区silk| 欧美三级午夜理伦三级中视频| 亚洲综合小说图片| 3atv一区二区三区| 精品一区二区三区在线观看| 久久亚洲捆绑美女| 成人99免费视频| 亚洲综合免费观看高清在线观看| 欧美日韩三级在线| 裸体在线国模精品偷拍| 国产亚洲va综合人人澡精品| 成人黄色av电影| 亚洲观看高清完整版在线观看| 欧美日韩一区不卡| 国内外成人在线| 国产精品免费久久久久| 在线看不卡av| 韩日精品视频一区| 综合久久久久久| 欧美日韩国产成人在线免费| 九色综合狠狠综合久久| 国产精品久久久久精k8| 欧美三级资源在线| 黄网站免费久久| 亚洲美女视频一区| 日韩一区二区免费在线电影| 国产91精品欧美|