Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _ASM_GENERIC_ERRNO_BASE_H
0003 #define _ASM_GENERIC_ERRNO_BASE_H
0004 
0005 #define EPERM        1  /* Operation not permitted */
0006 #define ENOENT       2  /* No such file or directory */
0007 #define ESRCH        3  /* No such process */
0008 #define EINTR        4  /* Interrupted system call */
0009 #define EIO      5  /* I/O error */
0010 #define ENXIO        6  /* No such device or address */
0011 #define E2BIG        7  /* Argument list too long */
0012 #define ENOEXEC      8  /* Exec format error */
0013 #define EBADF        9  /* Bad file number */
0014 #define ECHILD      10  /* No child processes */
0015 #define EAGAIN      11  /* Try again */
0016 #define ENOMEM      12  /* Out of memory */
0017 #define EACCES      13  /* Permission denied */
0018 #define EFAULT      14  /* Bad address */
0019 #define ENOTBLK     15  /* Block device required */
0020 #define EBUSY       16  /* Device or resource busy */
0021 #define EEXIST      17  /* File exists */
0022 #define EXDEV       18  /* Cross-device link */
0023 #define ENODEV      19  /* No such device */
0024 #define ENOTDIR     20  /* Not a directory */
0025 #define EISDIR      21  /* Is a directory */
0026 #define EINVAL      22  /* Invalid argument */
0027 #define ENFILE      23  /* File table overflow */
0028 #define EMFILE      24  /* Too many open files */
0029 #define ENOTTY      25  /* Not a typewriter */
0030 #define ETXTBSY     26  /* Text file busy */
0031 #define EFBIG       27  /* File too large */
0032 #define ENOSPC      28  /* No space left on device */
0033 #define ESPIPE      29  /* Illegal seek */
0034 #define EROFS       30  /* Read-only file system */
0035 #define EMLINK      31  /* Too many links */
0036 #define EPIPE       32  /* Broken pipe */
0037 #define EDOM        33  /* Math argument out of domain of func */
0038 #define ERANGE      34  /* Math result not representable */
0039 
0040 #endif