syslog.h中的“0-big number”是什么意思?
What's the meaning of "0-big number" in syslog.h?
我chinese.I正在阅读syslog.h,我发现一个术语“0-big number”我无法understand.I理解空洞段落的意思,但我仍然对“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 */
....
*/
作者只是决定将 28 个设置位 (2^28 - 1
) 称为 大数 而不是写出来。所以这不是一个术语,而是指 零 到 大数。
我chinese.I正在阅读syslog.h,我发现一个术语“0-big number”我无法understand.I理解空洞段落的意思,但我仍然对“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 */
....
*/
作者只是决定将 28 个设置位 (2^28 - 1
) 称为 大数 而不是写出来。所以这不是一个术语,而是指 零 到 大数。