Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4241279
  • 博文数量: 1148
  • 博客积分: 25453
  • 博客等级: 上将
  • 技术积分: 11949
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-06 21:14
文章分类

全部博文(1148)

文章存档

2012年(15)

2011年(1078)

2010年(58)

分类: LINUX

2011-12-19 15:45:07


linux/include/asm-generic/base_error.h
  1. 1#ifndef _ASM_GENERIC_ERRNO_BASE_H
  2.    2#define _ASM_GENERIC_ERRNO_BASE_H
  3.    3
  4.    4#define EPERM 1 /* Operation not permitted */
  5.    5#define ENOENT 2 /* No such file or directory */
  6.    6#define ESRCH 3 /* No such process */
  7.    7#define EINTR 4 /* Interrupted system call */
  8.    8#define EIO 5 /* I/O error */
  9.    9#define ENXIO 6 /* No such device or address */
  10.   10#define E2BIG 7 /* Argument list too long */
  11.   11#define ENOEXEC 8 /* Exec format error */
  12.   12#define EBADF 9 /* Bad file number */
  13.   13#define ECHILD 10 /* No child processes */
  14.   14#define EAGAIN 11 /* Try again */
  15.   15#define ENOMEM 12 /* Out of memory */
  16.   16#define EACCES 13 /* Permission denied */
  17.   17#define EFAULT 14 /* Bad address */
  18.   18#define ENOTBLK 15 /* Block device required */
  19.   19#define EBUSY 16 /* Device or resource busy */
  20.   20#define EEXIST 17 /* File exists */
  21.   21#define EXDEV 18 /* Cross-device link */
  22.   22#define ENODEV 19 /* No such device */
  23.   23#define ENOTDIR 20 /* Not a directory */
  24.   24#define EISDIR 21 /* Is a directory */
  25.   25#define EINVAL 22 /* Invalid argument */
  26.   26#define ENFILE 23 /* File table overflow */
  27.   27#define EMFILE 24 /* Too many open files */
  28.   28#define ENOTTY 25 /* Not a typewriter */
  29.   29#define ETXTBSY 26 /* Text file busy */
  30.   30#define EFBIG 27 /* File too large */
  31.   31#define ENOSPC 28 /* No space left on device */
  32.   32#define ESPIPE 29 /* Illegal seek */
  33.   33#define EROFS 30 /* Read-only file system */
  34.   34#define EMLINK 31 /* Too many links */
  35.   35#define EPIPE 32 /* Broken pipe */
  36.   36#define EDOM 33 /* Math argument out of domain of func */
  37.   37#define ERANGE 34 /* Math result not representable */
  38.   38
  39.   39#endif
  40.   40
阅读(1569) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~