原作者:http://www.verydemo.com/demo_c167_i136130.html
1-34号错误号是在内核源码的include/asm-generic/errno-base.h定义
35-132则是在include/asm-generic/errno.h中定义
剩下还有一些更大的错误号是留给内核级别的,如系统调用等, 用户程序一般是看不见的这些号的, Ubuntu9.10中/usr/src/linux-headers-2.6.31-21-generic/include/linux/errno.h
35-132则是在include/asm-generic/errno.h中定义
剩下还有一些更大的错误号是留给内核级别的,如系统调用等, 用户程序一般是看不见的这些号的, Ubuntu9.10中/usr/src/linux-headers-2.6.31-21-generic/include/linux/errno.h
|