arch-x86-remove-duplicate-includes
[linux-2.6/linux-trees-mm.git] / include / asm-sparc64 / bsderrno.h
blob52fe880d2af8340438e9421dc09e002f96483d1e
1 /* $Id: bsderrno.h,v 1.1 1996/12/26 13:25:21 davem Exp $
2 * bsderrno.h: Error numbers for NetBSD binary compatibility
4 * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
5 */
7 #ifndef _SPARC64_BSDERRNO_H
8 #define _SPARC64_BSDERRNO_H
10 #define BSD_EPERM 1 /* Operation not permitted */
11 #define BSD_ENOENT 2 /* No such file or directory */
12 #define BSD_ESRCH 3 /* No such process */
13 #define BSD_EINTR 4 /* Interrupted system call */
14 #define BSD_EIO 5 /* Input/output error */
15 #define BSD_ENXIO 6 /* Device not configured */
16 #define BSD_E2BIG 7 /* Argument list too long */
17 #define BSD_ENOEXEC 8 /* Exec format error */
18 #define BSD_EBADF 9 /* Bad file descriptor */
19 #define BSD_ECHILD 10 /* No child processes */
20 #define BSD_EDEADLK 11 /* Resource deadlock avoided */
21 #define BSD_ENOMEM 12 /* Cannot allocate memory */
22 #define BSD_EACCES 13 /* Permission denied */
23 #define BSD_EFAULT 14 /* Bad address */
24 #define BSD_ENOTBLK 15 /* Block device required */
25 #define BSD_EBUSY 16 /* Device busy */
26 #define BSD_EEXIST 17 /* File exists */
27 #define BSD_EXDEV 18 /* Cross-device link */
28 #define BSD_ENODEV 19 /* Operation not supported by device */
29 #define BSD_ENOTDIR 20 /* Not a directory */
30 #define BSD_EISDIR 21 /* Is a directory */
31 #define BSD_EINVAL 22 /* Invalid argument */
32 #define BSD_ENFILE 23 /* Too many open files in system */
33 #define BSD_EMFILE 24 /* Too many open files */
34 #define BSD_ENOTTY 25 /* Inappropriate ioctl for device */
35 #define BSD_ETXTBSY 26 /* Text file busy */
36 #define BSD_EFBIG 27 /* File too large */
37 #define BSD_ENOSPC 28 /* No space left on device */
38 #define BSD_ESPIPE 29 /* Illegal seek */
39 #define BSD_EROFS 30 /* Read-only file system */
40 #define BSD_EMLINK 31 /* Too many links */
41 #define BSD_EPIPE 32 /* Broken pipe */
42 #define BSD_EDOM 33 /* Numerical argument out of domain */
43 #define BSD_ERANGE 34 /* Result too large */
44 #define BSD_EAGAIN 35 /* Resource temporarily unavailable */
45 #define BSD_EWOULDBLOCK EAGAIN /* Operation would block */
46 #define BSD_EINPROGRESS 36 /* Operation now in progress */
47 #define BSD_EALREADY 37 /* Operation already in progress */
48 #define BSD_ENOTSOCK 38 /* Socket operation on non-socket */
49 #define BSD_EDESTADDRREQ 39 /* Destination address required */
50 #define BSD_EMSGSIZE 40 /* Message too long */
51 #define BSD_EPROTOTYPE 41 /* Protocol wrong type for socket */
52 #define BSD_ENOPROTOOPT 42 /* Protocol not available */
53 #define BSD_EPROTONOSUPPORT 43 /* Protocol not supported */
54 #define BSD_ESOCKTNOSUPPORT 44 /* Socket type not supported */
55 #define BSD_EOPNOTSUPP 45 /* Operation not supported */
56 #define BSD_EPFNOSUPPORT 46 /* Protocol family not supported */
57 #define BSD_EAFNOSUPPORT 47 /* Address family not supported by protocol family */
58 #define BSD_EADDRINUSE 48 /* Address already in use */
59 #define BSD_EADDRNOTAVAIL 49 /* Can't assign requested address */
60 #define BSD_ENETDOWN 50 /* Network is down */
61 #define BSD_ENETUNREACH 51 /* Network is unreachable */
62 #define BSD_ENETRESET 52 /* Network dropped connection on reset */
63 #define BSD_ECONNABORTED 53 /* Software caused connection abort */
64 #define BSD_ECONNRESET 54 /* Connection reset by peer */
65 #define BSD_ENOBUFS 55 /* No buffer space available */
66 #define BSD_EISCONN 56 /* Socket is already connected */
67 #define BSD_ENOTCONN 57 /* Socket is not connected */
68 #define BSD_ESHUTDOWN 58 /* Can't send after socket shutdown */
69 #define BSD_ETOOMANYREFS 59 /* Too many references: can't splice */
70 #define BSD_ETIMEDOUT 60 /* Operation timed out */
71 #define BSD_ECONNREFUSED 61 /* Connection refused */
72 #define BSD_ELOOP 62 /* Too many levels of symbolic links */
73 #define BSD_ENAMETOOLONG 63 /* File name too long */
74 #define BSD_EHOSTDOWN 64 /* Host is down */
75 #define BSD_EHOSTUNREACH 65 /* No route to host */
76 #define BSD_ENOTEMPTY 66 /* Directory not empty */
77 #define BSD_EPROCLIM 67 /* Too many processes */
78 #define BSD_EUSERS 68 /* Too many users */
79 #define BSD_EDQUOT 69 /* Disc quota exceeded */
80 #define BSD_ESTALE 70 /* Stale NFS file handle */
81 #define BSD_EREMOTE 71 /* Too many levels of remote in path */
82 #define BSD_EBADRPC 72 /* RPC struct is bad */
83 #define BSD_ERPCMISMATCH 73 /* RPC version wrong */
84 #define BSD_EPROGUNAVAIL 74 /* RPC prog. not avail */
85 #define BSD_EPROGMISMATCH 75 /* Program version wrong */
86 #define BSD_EPROCUNAVAIL 76 /* Bad procedure for program */
87 #define BSD_ENOLCK 77 /* No locks available */
88 #define BSD_ENOSYS 78 /* Function not implemented */
89 #define BSD_EFTYPE 79 /* Inappropriate file type or format */
90 #define BSD_EAUTH 80 /* Authentication error */
91 #define BSD_ENEEDAUTH 81 /* Need authenticator */
92 #define BSD_ELAST 81 /* Must be equal largest errno */
94 #endif /* !(_SPARC64_BSDERRNO_H) */