linux错误号大全

原作者: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




 


genericbaseh

    EDEADLK        35    
    ENAMETOOLONG    36    
    ENOLCK        37    
    ENOSYS        38    
    ENOTEMPTY    39    
    ELOOP        40    
    EWOULDBLOCK    EAGAIN    
    ENOMSG        42    
    EIDRM        43    
    ECHRNG  …………………………………………………………………………

猜你喜欢

转载自jcdnwz00930.iteye.com/blog/2072350