errno.h
EPERM /* Operation not permitted */操作不允许ENOENT /* No such file or directory */文件/路径不存在
ESRCH /* No such process */进程不存在
EINTR /* Interrupted system call */中断的系统调用
EIO /* I/O error */I/O错误
ENXIO /* No such device or address */设备/地址不存在
E2BIG /* Arg list too long */参数列表过长
ENOEXEC /* Exec format error */执行格式错误
EBADF /* Bad file number */错误文件编号
ECHILD /* No child processes */子进程不存在
EAGAIN /* Try again */重试
ENOMEM /* Out of memory */内存不足
EACCES /* Permission denied */无权限
EFAULT /* Bad address */地址错误
EEXIST /* File exists */文件已存在ENODEV /* No such device */设备不存在
ENOTDIR /* Not a directory */路径不存在
EISDIR /* Is a directory */是路径
EINVAL /* Invalid argument */无效参数
ENFILE /* File table overflow */文件表溢出
EMFILE /* Too many open files */打开的文件过多
EFBIG /* File too large */文件太大
ESPIPE /* Illegal seek */非法查询EROFS /* Read-only file system */只读文件系统
EMLINK /* Too many links */链接太多
ENAMETOOLONG /* File name too long */文件名太长
ENOSYS /* Function not implemented */函数未实现
ENOTEMPTY /* Directory not empty */目录非空
EWOULDBLOCK EAGAIN /* Operation would block */操作会阻塞EIDRM /* Identifier removed */标识符已删除