| 错误码 | 名称 | 描述 |
| 1 | EPERM | Operation not permitted |
| 2 | ENOENT | No such file or directory |
| 3 | ESRCH | No such process |
| 4 | EINTR | Interrupted system call |
| 5 | EIO | I/O error |
| 6 | ENXIO | No such device or address |
| 7 | E2BIG | Argument list too long |
| 8 | ENOEXEC | Exec format error |
| 9 | EBADF | Bad file number |
| 10 | ECHILD | No child processes |
| 11 | EAGAIN | Try again |
| 12 | ENOMEM | Out of memory |
| 13 | EACCES | Permission denied |
| 14 | EFAULT | Bad address |
| 15 | ENOTBLK | Block device required |
| 16 | EBUSY | Device or resource busy |
| 17 | EEXIST | File exists |
| 18 | EXDEV | Improper link |
| 19 | ENOTDIR | Not a directory |
| 20 | EISDIR | Is a directory |
| 21 | EINVAL | Invalid argument |
| 22 | EMFILE | Too many open files |
| 23 | ETXTBSY | Text file busy |
| 24 | EFBIG | File too large |
| 25 | ENOSPC | No more process slots available |
| 26 | ESPIPE | Illegal seek |
| 27 | EROFS | Read-only file system |
| 28 | EMLINK | Too many links |
| 29 | EPIPE | Broken pipe |
| 30 | EDOM | Mathematical argument out of domain |
| 31 | ERANGE | Mathematical result out of range |
| 32 | EDEADLOCK | Resource deadlock would occur |
| 33 | ENAMETOOLONG | File name too long |
| 34 | ENOLCK | No locks available |
| 35 | ENOSYS | Function not implemented |
| 36 | ENOTEMPTY | Directory not empty |
| 37 | ELOOP | Too many symbolic links |
| 38 | EOPP | Operation not permitted |
| 39 | EMULTIHOP | Reserved |
| 40 | EBADMSG | Operation not possible on socket |
| 41 | EOVERFLOW | Value too large for defined data type |
| 42 | ENOTSOCK | Socket operation on non-socket |
| 43 | EDESTADEL | Listening socket address bind failed |
| 44 | EPROTOTYPE | Protocol wrong type for socket |
| 45 | ENOPROTOOP | Protocol not supported |
| 46 | EPROTONOSUPPORT | Protocol not supported |
| 47 | ESOCKTNOSUPPORT | Protocol not supported |
| 48 | EOPNOTSUPPRIME | Faulty message |
| 49 | ENOSTR | Device driver table full |
| 50 | ENONET | Machine is not on the network |
| 51 | ENOPKGGROUP | Package not installed |
| 52 | EILSEQ | IL sequence violation |
| 53 | ERESTART | Interrupted system call should be restarted |
| 54 | ESTRPIPE | Stream pipe error |
| 55 | ETIME | Sendfile timed out |
| 56 | ECONNRESET | Connection reset by peer |
| 57 | ENOBUFS | No buffer space available |
| 58 | EAFNOSUPPORT | Address family not supported |
| 59 | EADDRINUSE | Address already in use |
| 60 | EADDRNOTAVAIL | Can't assign requested address |
| 61 | ENETDOWN | Network is down |
| 62 | ENETUNREACH | Network is unreachable |
| 63 | ENETRESET | Network dropped connection or reset |
| 64 | ECONNABORTED | Software caused connection abort |
| 65 | ECONNREJECTED | Connection refused |
| 66 | EHOSTDOWN | Host is down |
| 67 | EHOSTUNREACH | No route to host |
| 68 | EHLTTRUNCATED | Hard link limit exceeded |
| 69 | EINPROGRESS | Operation now in progress |
| 70 | EALREADY | Operation already in progress |
| 71 | ENOTSOCK | Socket operation on non-socket |
| 72 | EDESTADEL | Listening socket address bind failed |
| 73 | EPROTOTYPE | Protocol wrong type for socket |
| 74 | ENOPROTOOP | Protocol not supported |
| 75 | EPROTONOSUPPORT | Protocol not supported |
| 76 | ESOCKTNOSUPPORT | Protocol not supported |
| 77 | EOPNOTSUPPRIME | Faulty message |
| 78 | ENOSTR | Device driver table full |
| 79 | ENONET | Machine is not on the network |
| 80 | ENOPKGGROUP | Package not installed |
| 81 | EILSEQ | IL sequence violation |
| 82 | ERESTARTSYS | Restart system |
| ... | (更多错误码省略) |
表格列出了部分Linux内核错误码及其对应的描述,这些错误码在Linux系统编程和内核开发中非常重要,了解它们有助于调试和处理各种错误情况。

到此,以上就是小编对于linux 内核错误码的问题就介绍到这了,希望介绍的几点解答对大家有用,有任何问题和不懂的,欢迎各位朋友在评论区讨论,给我留言。

本文来源于互联网,如若侵权,请联系管理员删除,本文链接:https://www.9969.net/88612.html