【发布时间】:2015-12-27 19:50:48
【问题描述】:
我是中国人。我正在阅读 syslog.h,我发现了一个我无法理解的术语“0-big number”。我可以理解孔段的含义,但我仍然对术语“0-big number”,有人能解释一下这个术语吗?
/*
* priorities/facilities are encoded into a single 32-bit quantity, where the
* bottom 3 bits are the priority (0-7) and the top 28 bits are the facility
* (0-big number). Both the priorities and the facilities map roughly
* one-to-one to strings in the syslogd(8) source code. This mapping is
* included in this file.
/* facility codes */
#define LOG_KERN (0<<3) /* kernel messages */
#define LOG_USER (1<<3) /* random user-level messages */
....
*/
【问题讨论】:
标签: c linux unix logging syslog