常见的linux错误大全
| 1 EPERM | 15 ENOTBLK |
| Operation not permitted | Block device required |
| 操作不许可 | 需要块设备 |
| 2 ENOENT | 16 EBUSY |
| No such file or directory | Device or resource busy |
| 无此文件或目录 | 设备或资源忙 |
| 3 ESRCH | 17 EEXIST |
| No such process | File exists |
| 无此过程 | 文件存在 |
| 4 EINTR | 18 EXDEV |
| Interrupted system call | Cross-device link |
| 系统调用被禁止 | 跨器链接 |
| 5 EIO | 19 ENODEV |
| I/O error | No such device |
| I/O 错误 | 无此设备 |
| 6 ENXIO | 20 ENOTDIR |
| No such device or address | Not a directory |
| 无此器件或地址 | 不是一个目录 |
| 7 E2BIG | 21 EISDIR |
| Arg list too long | Is a directory |
| Arg 列表太长 | 是一个目录 |
| 8 ENOEXEC | 22 EINVAL |
| Exec format error | Invalid argument |
| Exec 格式错误 | 无效的函数自变量 |
| 9 EBADF | 23 ENFILE |
| Bad file number | File table overflow |
| 文件数目错误 | 文件表溢出 |
| 10 ECHILD | 24 EMFILE |
| No child processes | Too many open files |
| 无子过程 | 打开的文件太多 |
| 11 EAGAIN | 25 ENOTTY |
| Try again | Inappropriate ioctl for device |
| 再试一遍 | 26 ETXTBSY |
| 12 ENOMEM | Text file busy |
| Out of memory | 文本文件忙 |
| 内存溢出 | 27 EFBIG |
| 13 EACCES | File too large |
| Permission denied | 文件太大 |
| 许可拒绝 | 28 ENOSPC |
| 14 EFAULT | No space left on device |
| Bad address | 磁盘空间不足 |
| 错误的地址 | 29 ESPIPE |
如果我的文章对你有所帮助,那就赶紧收藏+转发+关注吧!
