c - What's the meaning of "0-big number" in syslog.h? -


i'm chinese.i'm reading syslog.h,and find term "0-big number" can't understand.i can understand hole paragraph meaning,but i'm still curious term "0-big number",could explain term?

/* * priorities/facilities encoded single 32-bit quantity, * bottom 3 bits priority (0-7) , top 28 bits facility * (0-big number).  both priorities , facilities map * one-to-one strings in syslogd(8) source code.  mapping * included in file.  /* facility codes */  #define log_kern    (0<<3)  /* kernel messages */  #define log_user    (1<<3)  /* random user-level messages */ .... */ 

the author decided call 28 set bits (2^28 - 1) big number instead of writing out. it's not term means zero big number.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -