发新话题
打印

【求助】minix代码注释的问题

【求助】minix代码注释的问题

正在看minix的源代码,有一段注视看不懂:confused: ,请大家帮忙看看,十分感谢。
/* ANSI C makes writing down the promotion of unsigned type very messy.When sizeof(short)==sizeof(int),there is no promotion,so the type stays unsigned.When the compiler is not ANSI,there is no loss of unsignedness,and there are usually no prototypes so the promoted type doesn't matter.The use of types like Ino_t is attempt to use ints (which are not promoted)while providing information to the reader.*/      

TOP

怎么没人帮忙???      

TOP

大致讲的就是不同数据类型在参与运算时的自动升级转换问题,看代码我觉得没有必要这么深究。      

TOP

发新话题