28 #if defined (HAVE_CONFIG_H)
50 static errno_struct errno_codes[] =
60 #if defined (EADDRINUSE)
61 {
"EADDRINUSE", EADDRINUSE },
63 #if defined (EADDRNOTAVAIL)
64 {
"EADDRNOTAVAIL", EADDRNOTAVAIL },
66 #if defined (EAFNOSUPPORT)
67 {
"EAFNOSUPPORT", EAFNOSUPPORT },
72 #if defined (EALREADY)
73 {
"EALREADY", EALREADY },
84 #if defined (ECONNABORTED)
85 {
"ECONNABORTED", ECONNABORTED },
87 #if defined (ECONNREFUSED)
88 {
"ECONNREFUSED", ECONNREFUSED },
90 #if defined (ECONNRESET)
91 {
"ECONNRESET", ECONNRESET },
94 {
"EDEADLK", EDEADLK },
96 #if defined (EDESTADDRREQ)
97 {
"EDESTADDRREQ", EDESTADDRREQ },
103 {
"EDQUOT", EDQUOT },
106 {
"EEXIST", EEXIST },
109 {
"EFAULT", EFAULT },
114 #if defined (EHOSTDOWN)
115 {
"EHOSTDOWN", EHOSTDOWN },
117 #if defined (EHOSTUNREACH)
118 {
"EHOSTUNREACH", EHOSTUNREACH },
120 #if defined (EINPROGRESS)
121 {
"EINPROGRESS", EINPROGRESS },
127 {
"EINVAL", EINVAL },
132 #if defined (EISCONN)
133 {
"EISCONN", EISCONN },
136 {
"EISDIR", EISDIR },
142 {
"EMFILE", EMFILE },
145 {
"EMLINK", EMLINK },
147 #if defined (EMSGSIZE)
148 {
"EMSGSIZE", EMSGSIZE },
150 #if defined (ENAMETOOLONG)
151 {
"ENAMETOOLONG", ENAMETOOLONG },
153 #if defined (ENETDOWN)
154 {
"ENETDOWN", ENETDOWN },
156 #if defined (ENETRESET)
157 {
"ENETRESET", ENETRESET },
159 #if defined (ENETUNREACH)
160 {
"ENETUNREACH", ENETUNREACH },
163 {
"ENFILE", ENFILE },
165 #if defined (ENOBUFS)
166 {
"ENOBUFS", ENOBUFS },
169 {
"ENODEV", ENODEV },
172 {
"ENOENT", ENOENT },
174 #if defined (ENOEXEC)
175 {
"ENOEXEC", ENOEXEC },
178 {
"ENOLCK", ENOLCK },
181 {
"ENOMEM", ENOMEM },
183 #if defined (ENOPROTOOPT)
184 {
"ENOPROTOOPT", ENOPROTOOPT },
187 {
"ENOSPC", ENOSPC },
190 {
"ENOSYS", ENOSYS },
192 #if defined (ENOTBLK)
193 {
"ENOTBLK", ENOTBLK },
195 #if defined (ENOTCONN)
196 {
"ENOTCONN", ENOTCONN },
198 #if defined (ENOTDIR)
199 {
"ENOTDIR", ENOTDIR },
201 #if defined (ENOTEMPTY)
202 {
"ENOTEMPTY", ENOTEMPTY },
204 #if defined (ENOTSOCK)
205 {
"ENOTSOCK", ENOTSOCK },
208 {
"ENOTTY", ENOTTY },
213 #if defined (EOPNOTSUPP)
214 {
"EOPNOTSUPP", EOPNOTSUPP },
219 #if defined (EPFNOSUPPORT)
220 {
"EPFNOSUPPORT", EPFNOSUPPORT },
225 #if defined (EPROTONOSUPPORT)
226 {
"EPROTONOSUPPORT", EPROTONOSUPPORT },
228 #if defined (EPROTOTYPE)
229 {
"EPROTOTYPE", EPROTOTYPE },
232 {
"ERANGE", ERANGE },
234 #if defined (EREMOTE)
235 {
"EREMOTE", EREMOTE },
237 #if defined (ERESTART)
238 {
"ERESTART", ERESTART },
243 #if defined (ESHUTDOWN)
244 {
"ESHUTDOWN", ESHUTDOWN },
246 #if defined (ESOCKTNOSUPPORT)
247 {
"ESOCKTNOSUPPORT", ESOCKTNOSUPPORT },
250 {
"ESPIPE", ESPIPE },
256 {
"ESTALE", ESTALE },
258 #if defined (ETIMEDOUT)
259 {
"ETIMEDOUT", ETIMEDOUT },
261 #if defined (ETOOMANYREFS)
262 {
"ETOOMANYREFS", ETOOMANYREFS },
264 #if defined (ETXTBSY)
265 {
"ETXTBSY", ETXTBSY },
268 {
"EUSERS", EUSERS },
270 #if defined (EWOULDBLOCK)
271 {
"EWOULDBLOCK", EWOULDBLOCK },
286 errno_struct *ptr = errno_codes;
void assign(const idx_vector &i, const Array< T > &rhs, const T &rfv)
Indexed assignment (always with resize & fill).
int do_lookup(const std::string &name)
std::map< std::string, int > errno_tbl
static octave_errno * instance
octave_scalar_map do_list(void)
static int lookup(const std::string &name)
static void cleanup_instance(void)
static bool instance_ok(void)
static octave_scalar_map list(void)
octave_value::octave_value(const Array< char > &chm, char type) return retval