Linux 错误类型

#define EINVAL                   1      /* Invalid argument */
#define EFAULT                   2      /* Bad memory reference */
#define ENAMETOOLONG     3      /* String too long */
#define ENOMEM                 4      /* Out of memory */
#define EIO                         5      /* Input/output error */
#define ENOENT                  6      /* No such file or directory */
#define ENOTDIR                 7      /* Not a directory */
#define EISDIR                    8      /* Is a directory */
#define EEXIST                    9      /* File exists */
#define EXDEV                   10     /* Cross-device link */
#define EAGAIN                  11     /* Try again later */
#define ESPIPE                   12     /* Illegal seek */
#define EUNIMP                  13     /* Unimplemented feature */
#define ENXIO                    14     /* Device not available */
#define ENODEV                 15     /* No such device */
#define EBUSY                    16     /* Device busy */
#define EIOCTL                   17     /* Invalid or inappropriate ioctl */
#define ENOTEMPTY            18     /* Directory not empty */
#define ERANGE                  19     /* Result too large */
#define ENOSPC                  20     /* No space left on device */
#define EMFILE                   21     /* Too many open files */
#define ENFILE                   22     /* Too many open files in system */
#define ENOSYS                  23     /* No such system call */
#define ENOEXEC                24     /* File is not executable */
#define E2BIG                     25     /* Argument list too long */
#define EBADF                    26     /* Bad file number */

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值