summaryrefslogtreecommitdiff
path: root/nacl/curvecp/e.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-07-13 10:09:38 -0400
committerirungentoo <irungentoo@gmail.com>2013-07-13 10:09:38 -0400
commitd4fe483efd3e0062f12430efe9deb66d43d914d7 (patch)
treee6aa9ac716ae82cdb15c6e6cb5d9d1d9d29f053b /nacl/curvecp/e.c
parent835ef0320d47372eac14bef31c979b8217d04498 (diff)
NaCl moved to other repo.
Diffstat (limited to 'nacl/curvecp/e.c')
-rw-r--r--nacl/curvecp/e.c106
1 files changed, 0 insertions, 106 deletions
diff --git a/nacl/curvecp/e.c b/nacl/curvecp/e.c
deleted file mode 100644
index 00ff7fd9..00000000
--- a/nacl/curvecp/e.c
+++ /dev/null
@@ -1,106 +0,0 @@
1#include "e.h"
2
3#define X(e,s) if (i == e) return s;
4
5const char *e_str(int i)
6{
7 X(0,"no error");
8 X(EINTR,"interrupted system call")
9 X(ENOMEM,"out of memory")
10 X(ENOENT,"file does not exist")
11 X(ETXTBSY,"text busy")
12 X(EIO,"input/output error")
13 X(EEXIST,"file already exists")
14 X(ETIMEDOUT,"timed out")
15 X(EINPROGRESS,"operation in progress")
16 X(EAGAIN,"temporary failure")
17 X(EWOULDBLOCK,"input/output would block")
18 X(EPIPE,"broken pipe")
19 X(EPERM,"permission denied")
20 X(EACCES,"access denied")
21 X(ENODEV,"device not configured")
22 X(EPROTO,"protocol error")
23 X(EISDIR,"is a directory")
24 X(ESRCH,"no such process")
25 X(E2BIG,"argument list too long")
26 X(ENOEXEC,"exec format error")
27 X(EBADF,"file descriptor not open")
28 X(ECHILD,"no child processes")
29 X(EDEADLK,"operation would cause deadlock")
30 X(EFAULT,"bad address")
31 X(ENOTBLK,"not a block device")
32 X(EBUSY,"device busy")
33 X(EXDEV,"cross-device link")
34 X(ENODEV,"device does not support operation")
35 X(ENOTDIR,"not a directory")
36 X(EINVAL,"invalid argument")
37 X(ENFILE,"system cannot open more files")
38 X(EMFILE,"process cannot open more files")
39 X(ENOTTY,"not a tty")
40 X(EFBIG,"file too big")
41 X(ENOSPC,"out of disk space")
42 X(ESPIPE,"unseekable descriptor")
43 X(EROFS,"read-only file system")
44 X(EMLINK,"too many links")
45 X(EDOM,"input out of range")
46 X(ERANGE,"output out of range")
47 X(EALREADY,"operation already in progress")
48 X(ENOTSOCK,"not a socket")
49 X(EDESTADDRREQ,"destination address required")
50 X(EMSGSIZE,"message too long")
51 X(EPROTOTYPE,"incorrect protocol type")
52 X(ENOPROTOOPT,"protocol not available")
53 X(EPROTONOSUPPORT,"protocol not supported")
54 X(ESOCKTNOSUPPORT,"socket type not supported")
55 X(EOPNOTSUPP,"operation not supported")
56 X(EPFNOSUPPORT,"protocol family not supported")
57 X(EAFNOSUPPORT,"address family not supported")
58 X(EADDRINUSE,"address already used")
59 X(EADDRNOTAVAIL,"address not available")
60 X(ENETDOWN,"network down")
61 X(ENETUNREACH,"network unreachable")
62 X(ENETRESET,"network reset")
63 X(ECONNABORTED,"connection aborted")
64 X(ECONNRESET,"connection reset")
65 X(ENOBUFS,"out of buffer space")
66 X(EISCONN,"already connected")
67 X(ENOTCONN,"not connected")
68 X(ESHUTDOWN,"socket shut down")
69 X(ETOOMANYREFS,"too many references")
70 X(ECONNREFUSED,"connection refused")
71 X(ELOOP,"symbolic link loop")
72 X(ENAMETOOLONG,"file name too long")
73 X(EHOSTDOWN,"host down")
74 X(EHOSTUNREACH,"host unreachable")
75 X(ENOTEMPTY,"directory not empty")
76 X(EPROCLIM,"too many processes")
77 X(EUSERS,"too many users")
78 X(EDQUOT,"disk quota exceeded")
79 X(ESTALE,"stale NFS file handle")
80 X(EREMOTE,"too many levels of remote in path")
81 X(EBADRPC,"RPC structure is bad")
82 X(ERPCMISMATCH,"RPC version mismatch")
83 X(EPROGUNAVAIL,"RPC program unavailable")
84 X(EPROGMISMATCH,"program version mismatch")
85 X(EPROCUNAVAIL,"bad procedure for program")
86 X(ENOLCK,"no locks available")
87 X(ENOSYS,"system call not available")
88 X(EFTYPE,"bad file type")
89 X(EAUTH,"authentication error")
90 X(ENEEDAUTH,"not authenticated")
91 X(ENOSTR,"not a stream device")
92 X(ETIME,"timer expired")
93 X(ENOSR,"out of stream resources")
94 X(ENOMSG,"no message of desired type")
95 X(EBADMSG,"bad message type")
96 X(EIDRM,"identifier removed")
97 X(ENONET,"machine not on network")
98 X(EREMOTE,"object not local")
99 X(ENOLINK,"link severed")
100 X(EADV,"advertise error")
101 X(ESRMNT,"srmount error")
102 X(ECOMM,"communication error")
103 X(EMULTIHOP,"multihop attempted")
104 X(EREMCHG,"remote address changed")
105 return "unknown error";
106}