Linux的errno 错误对照表

Linux的errno 错误对照表


路径:在/usr/include/asm-generic 文件夹下面的 errno-base.h 和 errno.h
errno0 : Success
errno1 : Operation not permitted //操作不被允许
errno2 : No such file or directory //没有这个文件或者目录
errno3 : No such process //没有这个进程
errno4 : Interrupted system call //系统中断调用
errno5 : Input/output error //输入、输出错误
errno6 : No such device or address //没有这个设备或者地址
errno7 : Argument list too long //参数列表太长
errno8 : Exec format error //exec格式错误
errno9 : Bad file descriptor //错误的文件描述
errno10 : No child processes //没有子进程
errno11 : Resource temporarily unavailable //资源暂时不可用
errno12 : Cannot allocate memory //无法分配内存
errno13 : Permission denied //权限被拒绝
errno14 : Bad address //错误的地址
errno15 : Block device required //需要阻止设备
errno16 : Device or resource busy //设备或者资源被占用
errno17 : File exists //文件已经存在
errno18 : Invalid cross-device link //无效的跨设备连接
errno19 : No such device //没有这个设备
errno20 : Not a directory //不是一个目录
errno21 : Is a directory //是一个目录
errno22 : Invalid argument //无效的参数
errno23 : Too many open files in system //系统打开的文件太多
errno24 : Too many open files //太多打开的文件
errno25 : Inappropriate ioctl for device //设备的ioctl不正确
errno26 : Text file busy //文本文件被占用
errno27 : File too large //文件太大
errno28 : No space left on device //设备上没有剩余空间
errno29 : Illegal seek //不合法的寻找
errno30 : Read-only file system //只读文件系统
errno31 : Too many links //太多连接
errno32 : Broken pipe //断开的管道
errno33 : Numerical argument out of domain //域外数值参数
errno34 : Numerical result out of range //数值结果超出范围
errno35 : Resource deadlock avoided //避免了资源死锁
errno36 : File name too long //文件名字太长
errno37 : No locks available //没有可用的锁
errno38 : Function not implemented //功能未实现
errno39 : Directory not empty //目录不能为空
errno40 : Too many levels of symbolic links //符号链接级别太多
errno41 : Unknown error 41 //未知错误
errno42 : No message of desired type //没有所需类型的消息
errno43 : Identifier removed //标识符已删除
errno44 : Channel number out of range //通道号超出范围
errno45 : Level 2 not synchronized //2级未同步
errno46 : Level 3 halted //3级暂停
errno47 : Level 3 reset //3级复位
errno48 : Link number out of range //链接编号超出范围
errno49 : Protocol driver not attached //未连接协议驱动程序
errno50 : No CSI structure available //没有可用的CSI结构
errno51 : Level 2 halted //2级暂停
errno52 : Invalid exchange //无效的交换
errno53 : Invalid request descriptor //无效的请求描述符
errno54 : Exchange full //交换已满
errno55 : No anode //无阳极
errno56 : Invalid request code //无效的请求代码
errno57 : Invalid slot //无效插槽
errno58 : Unknown error 58 //未知错误
errno59 : Bad font file format //错误的字体文件格式
errno60 : Device not a stream //设备不是流
errno61 : No data available //无可用数据
errno62 : Timer expired //计时器已过期
errno63 : Out of streams resources //流外资源
errno64 : Machine is not on the network //计算机不在网络上
errno65 : Package not installed //包没有安装
errno66 : Object is remote //对象是远程的
errno67 : Link has been severed //链接已断开
errno68 : Advertise error //播发错误
errno69 : Srmount error //Srmount错误
errno70 : Communication error on send //发送时通信错误
errno71 : Protocol error //协议错误
errno72 : Multihop attempted //已尝试多跳
errno73 : RFS specific error //RFS特定错误
errno74 : Bad message //坏消息
errno75 : Value too large for defined datatype //值对于定义的数据类型太大
errno76 : Name not unique on network //名称在网络上不唯一
errno77 : File descriptor in bad state //文件描述符处于错误状态
errno78 : Remote address changed //远程地址已更改
errno79 : Can not access a needed sharedlibrary //无法访问所需的共享库
errno80 : Accessing a corrupted sharedlibrary //访问损坏的共享库
errno81 : .lib section in a.out corrupted //.out中的.lib节已损坏
errno82 : Attempting to link in too manyshared libraries //试图链接过多的共享库
errno83 : Cannot exec a shared librarydirectly //无法直接执行共享库
errno84 : Invalid or incomplete multibyte orwide character //无效或不完整的多字节或宽字符
errno85 : Interrupted system call should berestarted //应启动中断的系统调用
errno86 : Streams pipe error //流管道错误
errno87 : Too many users //太多用户
errno88 : Socket operation on non-socket //非插座上的插座操作
errno89 : Destinationaddress required //需要Destinationaddress
errno90 : Message too long //消息太长
errno91 : Protocol wrong type for socket //套接字的协议类型错误
errno92 : Protocol not available //协议不可用
errno93 : Protocol not supported //不支持协议
errno94 : Socket type not supported //不支持套接字类型
errno95 : Operation not supported //不支持的操作
errno96 : Protocol family not supported //不支持协议系列
errno97 : Address family not supported byprotocol //协议不支持地址族
errno98 : Address already in use //地址已经在使用
errno99 : Cannot assign requested address //无法分配请求的地址
errno100 : Network is down //网络中断
errno101 : Network is unreachable //无法访问网络
errno102 : Network dropped connection onreset //重置时网络断开连接
errno103 : Software caused connection abort //软件导致连接中止
errno104 : Connection reset by peer //对等端重置连接
errno105 : No buffer space available //没有可用的缓冲区空间
errno106 : Transport endpoint is alreadyconnected //连接超时,传输终结点已连接
errno107 : Transport endpoint is notconnected //传输终结点未连接
errno108 : Cannot send after transportendpoint shutdown //transportendpoint关闭后无法发送
errno109 : Too many references: cannot splice //引用太多:无法拼接
errno110 : Connection timed out //连接超时
errno111 : Connection refused //连接被拒绝
errno112 : Host is down //主机坏了
errno113 : No route to host //没有到主机的路由
errno114 : Operation already in progress //操作已在进行中
errno115 : Operation now in progress //操作现在在进行中
errno116 : Stale NFS file handle //过时的NFS文件句柄
errno117 : Structure needs cleaning //结构需要清洁
errno118 : Not a XENIX named type file //不是XENIX命名的类型文件
errno119 : No XENIX semaphores available //没有可用的XENIX信号量
errno120 : Is a named type file //是命名类型文件
errno121 : Remote I/O error //远程I/O错误
errno122 : Disk quota exceeded //超过磁盘配额
errno123 : No medium found //找不到介质
errno124 : Wrong medium type //介质类型错误
errno125 : Operation canceled //操作已取消
errno126 : Required key not available //所需密钥不可用
errno127 : Key has expired //密钥已过期
errno128 : Key has been revoked //密钥已被吊销
errno129 : Key was rejected by service //密钥被服务拒绝
errno130 : Owner died //主人死了
errno131 : State not recoverable //状态不可恢复
errno132 : Operation not possible due toRF-kill //由于toRF kill,操作不可能
errno133 : Unknown error 133 //未知错误
errno134 : Unknown error 134 //未知错误
errno135 : Unknown error 135 //未知错误
errno136 : Unknown error 136 //未知错误
errno137 : Unknown error 137 //未知错误
errno138 : Unknown error 138 //未知错误
errno139 : Unknown error 139 //未知错误

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值