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

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

?? logging.mdoc

?? bind-3.2.
?? MDOC
?? 第 1 頁 / 共 2 頁
字號:
information..PpThe .Fn log_write function is merely a front-end to a call to .Fn log_vwrite ;see the description of that function, above, for more information..Pp.Fn log_checkand.Fn log_check_channelare used to see if a contemplated logging call will actually generate anyoutput, which is useful when creating a log message involves non-trivialwork..Fn log_checkwill return non-zero if a call to.Fn log_vwritewith the given .Fa categoryand.Fa levelwould generate output on any channels, and zero otherwise..Fn log_check_channelwill return non-zero if writing to the.Fa chanat the given.Fa levelwould generate output..PpThe function.Fn log_new_context creates a new .Nm logging context ,and stores this in the.Dq Va opaquefield of the argument.Dq Fa lc , and opaque structure used internally.  This new .Nm context will include the.Dq Fa num_categoriesand.Dq Fa category_nameswhich are supplied; the latter can be.Dv NULL ..Sy NOTE :Since .Dq Fa category_namesis used directly, it .Em must not be freed by the caller, if it is .No non- Ns Dv NULL .The initial logging flags and priority are both set to zero..PpThe.Fn log_free_context function is used to free the opaque structure .Dq Va lc.opaqueand its components..Sy NOTE :The.Dq Va opaquefield of .Dq Fa lc.Em must be.No non- Ns Dv NULL .For each of the various.Dq categories(indicated by the.Dq Va num_categorieswhich were in the corresponding call to.Fn log_new_context ) associated with the given .Nm logging context ,.Em all of the .Nm logging channelsare .Xr free 3 Ns -d .The opaque structure itself is then.Xr free 3 Ns -d ,and .Dq Va lc.opaqueis set to.Dv NULL ..Pp.Sy NOTE :The function .Fn log_free_context does.Em notfree the memory associated with .Fa category_names ,since the logging library did not allocate the memory for it, originally;it was supplied in the call to.Fn log_new_context ..PpThe function.Fn log_add_channel adds the .Nm logging channel.Dq Fa chanto the list of logging channels in the given .Fa categoryof the .Nm logging context.Dq Fa lc .No checking is performed to see whether or not.Fa chanis already present in the given.Fa category ,so multiple instances in a single .Fa category can occur (but see.Fn log_remove_channel ,below)..PpThe.Fn log_remove_channel functionremoves .Em alloccurrences of the.Nm logging channel.Dq Fa chanfrom the list of logging channels in the given .Fa categoryof the .Nm logging context.Dq Fa lc .It also attempts to free the channel by calling.Fn log_free_channel (see its description, below)..PpThe.Fn log_option function is used to change the.Fa option of the indicated logging context.Fa lcto the given.Fa value .The .Fa optioncan be either.Dv LOG_OPTION_LEVELor.Dv LOG_OPTION_DEBUG ;in the first case, the log context's debugging level is reset to theindicated level.  If the.Fa option is .Dv LOG_OPTION_DEBUG , then a non-zero.Fa valueresults in setting the debug flag of the logging context, while a zero.Fa valuemeans that the debug flag is reset..PpThe.Fn log_category_is_active test returns a 1 if the given.Fa categoryof the indicated logging context.Fa lchas at least one logging channel, and 0, otherwise..PpThe functions.Fn log_new_syslog_channel ,.Fn log_new_file_channel ,and .Fn log_new_null_channelcreate a new channel of the type specified (thus, the difference in arguments);the .Dq Va typefield of the new.Do.Ft struct log_channel.Dcis always set to the appropriate value..PpThe .Fn log_new_syslog_channelfunction .Xr malloc 3 Ns -sa new.Ft struct log_channelof.Va type.Dv log_syslog ,i.e., a logging channel which will use.Xr syslog 3 .The new structure is filled out with the .Dq Fa flags ,.Dq Fa level , and .Dq Fa facility which are given; the .Va referencesfield is initialized to zero.See .Sx Logging Channel Flagsand.Sx Message Priorities ,above, or the header file for information about acceptable values for.Dq Fa flags ,and .Dq Fa level .The.Dq Fa facility .can be any valid.Xr syslog 3facility; see the appropriate system header file or manpage for more information..Pp.Ft log_channel .Fn log_new_file_channel "unsigned int flags" "int level" \    "char *name" "FILE *stream" "unsigned int versions" \    "unsigned long max_size".Pp.Fn log_new_null_channel .PpThe functions.Fn log_inc_references and.Fn log_dec_references increment or decrements, respectively, the.Va references field of the logging channel pointed to by.Dq Fa chan ,if it is a valid channel (and if the .Va referencesfield is strictly positive, in the case of.Fn log_dec_references ) .These functions are meant to track changes in the number of different clientswhich refer to the given logging channel..PpThe .Fn log_free_channelfunction frees the field of the logging channel pointed to by.Dq Fa chan if there are no more outstanding references to it.  If the channel uses a file, the stream is .Xr fclose 3 Ns -d (if the.Dv LOG_CLOSE_STREAMflag is set), and the filename, if .No non- Ns Dv NULL ,is .Xr free 3 Ns -d before .Dq Fa chanis .Xr free 3 Ns -d ..Pp.\" The following requests should be uncommented and.\" used where appropriate.  This next request is.\" for sections 2 and 3 function return values only..Sh RETURN VALUES.\" This next request is for sections 1, 6, 7 & 8 only.Bl -tag -width "log_category_is_active()".It Fn log_open_stream.Dv NULL is returned under any of several error conditions:a) if .Dq Fa chanis either.Dv NULLor a .No non- Ns Dv log_filechannel.Pq Va errno No is set to Dv EINVAL ;b) if either versioning or truncation is requested for a non-normal file.Pq Va errno No is set to Dv EINVAL ;c) if any of.Xr stat 2 , .Xr open 2 , or.Xr fdopen 3fails.Po.Va errno is set by the call which failed .Pc .If some value other than.Dv NULLis returned, then it is a valid logging stream (either newly-opened or already-open)..It Fn log_close_stream-1 if the stream associated with.Dq Fa chanis .No non- Ns Dv NULLand the call to.Xr fclose 3fails.0 if successful or the logging channel pointed to by.Dq Fa chanis invalid (i.e.,.Dv NULLor not a logging channel which has uses a file); in the latter case, .Va errnois set to .Dv EINVAL .  .It Fn log_get_stream.Dv NULL under the same conditions as those under which.Fn log_close_stream ,above, returns 0 (including the setting of .Va errno ) .Otherwise, the stream associated with the logging channel is returned..It Fn log_get_filename.Dv NULL under the same conditions as those under which.Fn log_close_stream ,above, returns 0 (including the setting of .Va errno ) .Otherwise, the name of the file associated with the logging channel is returned..It Fn log_new_context-1 if .Xr malloc 3fails.Pq with Va errno No set to Dv ENOMEM .Otherwise, 0, with .Dq Va lc->opaquecontaining the new structures and information..It Fn log_add_channel-1 ifa) either.Dq Va lc.opaqueis.Dv NULL or .Fa categoryis invalid (negative or greater than or equal to .Va lcp->num_categories ) ,with.Va errno set to .Dv EINVAL ;b) .Xr malloc 3fails.Pq with Va errno No set to Dv ENOMEM .Otherwise, 0..It Fn log_remove_channel-1 ifa) either.Dq Va lc.opaqueis .Dv NULLor .Fa categoryis invalid, as under failure condition a) for.Fn log_add_channel ,above, including the setting of.Va errno ;b) no channel numbered.Fa chanis found in the logging context indicated by.Fa lc .Pq with Va errno No set to Dv ENOENT .Otherwise, 0..It Fn log_option-1 ifa) .Dq Va lc.opaqueis.Dv NULL , b).Fa optionspecifies an unknown logging option ;in either case, .Va errno is set to .Dv EINVAL .Otherwise, 0..It Fn log_category_is_active-1 if.Dq Va lc.opaqueis.Dv NULL .Pq with Va errno No set to Dv EINVAL ;1 if the.Fa categorynumber is valid and there are logging channels in this .Fa categorywithin the indicated logging context; 0 if the.Fa categorynumber is invalid or there are no logging channels in this.Fa categorywithin the indicated logging context..It Fn log_new_syslog_channel.Dv NULLif.Xr malloc 3fails.Pq with Va errno No set to ENOMEM ;otherwise, a valid .Dv log_syslog Ns -type.Ft log_channel ..It Fn log_new_file_channel.Dv NULLif.Xr malloc 3fails.Pq with Va errno No set to ENOMEM ;otherwise, a valid.Dv log_file Ns -type.Ft log_channel ..It Fn log_new_null_channel.Dv NULLif.Xr malloc 3fails.Pq with Va errno No set to ENOMEM ;otherwise, a valid .Dv log_null Ns -type.Ft log_channel ..It Fn log_inc_references-1 if .Dq Fa chanis .Dv NULL .Pq with Va errno set to Dv EINVAL .Otherwise, 0..It Fn log_dec_references-1 if .Dq Fa chanis .Dv NULL or its.Va referencesfield is already <= 0.Pq with Va errno set to Dv EINVAL .Otherwise, 0..It Fn log_free_channel-1 under the same conditions as.Fn log_dec_references ,above, including the setting of .Va errno ;0 otherwise..El.\" .Sh ENVIRONMENT.Sh FILES.Bl -tag -width "isc/logging.h".It Pa isc/logging.hinclude file for logging library.It Pa syslog.h.Xr syslog 3 Ns -stylepriorities.El.\" .Sh EXAMPLES.\" This next request is for sections 1, 6, 7 & 8 only.\"     (command return values (to shell) and.\"    fprintf/stderr type diagnostics).\" .Sh DIAGNOSTICS.\" The next request is for sections 2 and 3 error.\" and signal handling only..Sh ERRORSThis table shows which functions can return the indicated error in the.Va errnovariable; see the.Sx RETURN VALUESsection, above, for more information..Bl -tag -width "(any0other0value)0".It Dv EINVAL.Fn log_open_stream ,.Fn log_close_stream ,.Fn log_get_stream ,.Fn log_get_filename ,.Fn log_add_channel ,.Fn log_remove_channel ,.Fn log_option ,.Fn log_category_is_active ,.Fn log_inc_references ,.Fn log_dec_references ,.Fn log_free_channel ..It Dv ENOENT.Fn log_remove_channel ..It Dv ENOMEM.Fn log_new_context ,.Fn log_add_channel ,.Fn log_new_syslog_channel ,.Fn log_new_file_channel ,.Fn log_new_null_channel ..It (any other value)returned via a pass-through of an error code from.Xr stat 2 , .Xr open 2 , or.Xr fdopen 3 ,which can occur in .Fn log_open_streamand functions which call it.Pq currently, only Fn log_vwrite ..El.PpAdditionally, .Fn log_vwriteand.Fn log_free_contextwill fail via .Fn assertif .Dq Va lc.opaqueis.Dv NULL .The function.Fn log_vwritecan also exit with a critical error logged via.Xr syslog 3indicating a memory overrun.Sh SEE ALSO.Xr @INDOT@named @SYS_OPS_EXT@ ,.Xr syslog 3 .The HTML documentation includes a file,.Pa logging.html ,which has more information about this logging system..\" .Sh STANDARDS.\" .Sh HISTORY.Sh AUTHORSBob Halley...TODO.\" .Sh BUGS

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区网站| 久88久久88久久久| 日韩欧美二区三区| 成人污视频在线观看| 日欧美一区二区| 亚洲欧美国产77777| 欧美xxxxx裸体时装秀| 色婷婷久久久综合中文字幕| 国产精品一区在线| 日韩精品成人一区二区三区| 最新成人av在线| 久久久久久久久久久久久久久99 | 久久99国产精品久久| 亚洲最大的成人av| 综合久久国产九一剧情麻豆| 久久这里只有精品6| 欧美一级高清片| 欧美亚洲自拍偷拍| 91视视频在线直接观看在线看网页在线看| 老鸭窝一区二区久久精品| 亚洲一区二区视频在线观看| 国产精品久久久久一区二区三区| 2020国产精品自拍| 日韩欧美一区二区不卡| 欧美精品1区2区3区| 在线观看国产一区二区| 色呦呦国产精品| 在线免费观看一区| 色综合视频一区二区三区高清| 成人污污视频在线观看| 国产成人综合在线观看| 久久99久久久久| 免费高清在线视频一区·| 日韩中文字幕亚洲一区二区va在线| 一区二区三区日韩欧美精品| 亚洲婷婷在线视频| 亚洲欧美日韩久久| 亚洲在线视频网站| 亚洲风情在线资源站| 亚洲丶国产丶欧美一区二区三区| 夜夜亚洲天天久久| 亚洲一区二区三区视频在线播放| 一区二区三区中文字幕在线观看| 亚洲欧美日韩国产一区二区三区 | 国产精品视频一二| 中国av一区二区三区| 欧美激情一区二区三区全黄| 中文字幕+乱码+中文字幕一区| 亚洲国产激情av| 亚洲另类春色校园小说| 亚洲精品高清在线| 日本欧美肥老太交大片| 狠狠网亚洲精品| 成人午夜av电影| 日本久久一区二区三区| 91福利资源站| av电影天堂一区二区在线| 日本高清无吗v一区| 国产精品一区二区在线观看网站| 成人性生交大片免费看中文网站| 美女高潮久久久| 91免费视频网| 99国产精品国产精品久久| 亚洲制服欧美中文字幕中文字幕| 337p亚洲精品色噜噜狠狠| 日韩一区二区电影在线| 久久在线观看免费| 亚洲女同一区二区| 三级精品在线观看| 激情文学综合插| 91蝌蚪porny九色| 欧美久久一二区| 久久精品综合网| 亚洲综合激情另类小说区| 日本中文字幕一区二区视频 | 日韩精品成人一区二区三区| 国产一区欧美二区| 亚洲国产视频一区| 国产成人激情av| 色综合久久综合网97色综合| 91麻豆精品国产91久久久更新时间| 综合激情成人伊人| 同产精品九九九| 国产成人精品免费网站| 欧美日韩日日夜夜| 中文字幕精品一区| 免费成人美女在线观看.| av在线不卡免费看| 欧美精品一区视频| 亚洲国产精品欧美一二99| 粉嫩av一区二区三区粉嫩| 欧美日韩三级一区二区| 国产精品三级av在线播放| 午夜私人影院久久久久| 岛国精品在线观看| 欧美电影影音先锋| 亚洲欧美电影一区二区| 国产在线视视频有精品| 欧美日韩一区国产| 亚洲国产精品二十页| 蜜臀精品一区二区三区在线观看 | 一区二区三区视频在线观看| 国产精品一区二区久久不卡| 欧美日韩小视频| 亚洲欧美福利一区二区| 国产精品资源网| 日韩你懂的在线观看| 亚洲va天堂va国产va久| 91蜜桃在线免费视频| 欧美国产精品一区二区| 韩国女主播成人在线| 欧美一区二区视频在线观看2020 | 色欧美88888久久久久久影院| 精品国产髙清在线看国产毛片| 亚洲一区二区在线免费观看视频| hitomi一区二区三区精品| 精品久久五月天| 免费在线观看精品| 666欧美在线视频| 石原莉奈一区二区三区在线观看| 91小视频在线| 亚洲欧洲色图综合| 国产精品99久久久久久久vr| 精品国产精品一区二区夜夜嗨| 蜜臀av性久久久久蜜臀aⅴ流畅| 欧美日韩黄视频| 亚洲18色成人| 69堂成人精品免费视频| 日产国产高清一区二区三区| 欧美久久免费观看| 偷拍与自拍一区| 91精品国产91久久久久久最新毛片| 亚洲成人免费在线观看| 欧美日韩一级黄| 亚洲18女电影在线观看| 欧美高清视频www夜色资源网| 亚洲国产精品久久久久秋霞影院| 欧美伊人久久久久久久久影院| 一二三区精品福利视频| 欧美三级资源在线| 日韩精品成人一区二区三区| 国产白丝精品91爽爽久久| 91精品国产色综合久久不卡蜜臀| 日本成人中文字幕在线视频| 91精品国产综合久久小美女| 美女www一区二区| 久久久久九九视频| 99久久综合国产精品| 亚洲日本欧美天堂| 日本乱码高清不卡字幕| 香蕉加勒比综合久久 | 国产精品激情偷乱一区二区∴| 国产成人精品免费| 亚洲日本va午夜在线电影| 色婷婷国产精品| 日韩黄色免费电影| 久久久久成人黄色影片| 成人av免费网站| 亚洲制服欧美中文字幕中文字幕| 欧美美女一区二区在线观看| 日本网站在线观看一区二区三区| 欧美精品一区二区三区蜜桃视频| 国产精品一二三四| 亚洲精品写真福利| 欧美一区二区网站| 国产精品亚洲一区二区三区妖精| 亚洲四区在线观看| 欧美精品在线一区二区| 精品亚洲aⅴ乱码一区二区三区| 欧美精彩视频一区二区三区| 在线观看一区日韩| 精品一区二区三区视频| 亚洲三级视频在线观看| 欧美一级黄色片| 成人激情文学综合网| 亚洲超碰97人人做人人爱| 精品久久免费看| 欧美在线一二三四区| 久久99这里只有精品| 综合色中文字幕| 日韩欧美中文字幕制服| 不卡在线观看av| 亚洲一区二区黄色| 国产亚洲一区二区三区四区| 在线影视一区二区三区| 国产精品亚洲一区二区三区在线| 夜夜精品视频一区二区| 久久久www免费人成精品| 欧美日韩亚州综合| 94-欧美-setu| 激情丁香综合五月| 亚洲国产日产av| 国产精品免费观看视频| 日韩一卡二卡三卡四卡| 欧美在线色视频| 不卡的av在线| 国产精品一级片| 麻豆精品视频在线观看视频| 一区二区三区视频在线看| 欧美激情艳妇裸体舞|