" 0-大数"的含义是什么?在syslog.h中?

时间:2015-09-30 06:19:34

标签: c linux unix logging syslog

我是中国人。我正在阅读syslog.h,我找到一个术语" 0-大数"我无法理解。我可以理解洞的段落含义,但我仍然对这个术语感到好奇" 0-大数",有人可以解释这个词吗?

/*
* 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 */
....
*/

1 个答案:

答案 0 :(得分:5)

作者刚决定将28个设置位(2^28 - 1)称为大数,而不是将其写出来。所以它不是一个术语,而是指大数