Lines Matching refs:error
136 const int error = (int)(intptr_t)pvValue;
151 msg = strerror_r(error, buf, sizeof(buf));
154 int status = strerror_r(error, buf, sizeof(buf));
172 const int error = (int)(intptr_t)pvValue;
183 * XXX: Windows strerror() doesn't handle posix error codes, but
185 * If you see a strange error message, it's probably from
186 * FormatMessage() for an error from <WinError.h> that has the
189 if (error < _sys_nerr) {
193 status = strerror_s(buf, sizeof(buf), error);
195 if (strcmp(buf, "Unknown error") == 0) {
198 "Unknown error: %d", error);
207 "Unknown error: %d", error);
216 NULL, error, LANG_NEUTRAL,
221 "Unknown error: %d", error);
256 err_t error;
264 error = tcpip_callbackmsg(m);
266 if (error == ERR_VAL) {
268 LWIP_ASSERT1(error != ERR_VAL);
271 LWIP_ASSERT1(error == ERR_OK);
304 #error Need a way to disable SIGPIPE on connection oriented sockets!
598 int error = 0;
611 error = -errno; /* sic: not a socket error */
643 error = SOCKERRNO();
645 __func__, sock, error));
646 error = -error;
653 return error;
678 proxy_lwip_strerr(err_t error)
681 int e = -error;
687 RTStrPrintf(buf, sizeof(buf), "unknown error %d", error);