2013年7月1日

GCC扩展

摘要: 1.函数名称获取(1)__func__, C99标准(2)__FUNCTION__, __PRETTY_FUNCTION__,非标准宏,只是变量,__FUNCTION__只会输出函数名称;而__PRETTY_FUNCTION__对于C来说输出函数名称,但是对于C++来说将输出函数的签名(返回类型 类名::函数名(参数列表)) 阅读全文

posted @ 2013-07-01 17:41 eric.geoffrey 阅读(178) 评论(0) 推荐(0) 编辑

Byte Order(字节序)

摘要: Byte OrderByte orderrefers to the order multi-byte values (typically integers and floating point values, although floating point values are not used within the Linux kernel) are stored by the hardware.Big endianis the byte order where the big end, most significant byte, is stored first (at the lowes 阅读全文

posted @ 2013-07-01 12:08 eric.geoffrey 阅读(1049) 评论(0) 推荐(0) 编辑

导航