linux头文件引用问题
读文件尾的两个字节, 代码如下:
?
??
头文件string.h和unistd.h,?在RHEL5.4_x86_64上测试结果:
1.只使用string.h结果错误
2.只使用unistd.h正确
3.都用正确4.都不用段错误