err 531 src/dps8/doAppendCycleInstructionFetch.h bool err = false; err 534 src/dps8/doAppendCycleInstructionFetch.h err = true; err 538 src/dps8/doAppendCycleInstructionFetch.h err = true; err 542 src/dps8/doAppendCycleInstructionFetch.h err = true; err 546 src/dps8/doAppendCycleInstructionFetch.h err = true; err 548 src/dps8/doAppendCycleInstructionFetch.h if (err) { err 647 src/dps8/doAppendCycleOperandRead.h bool err = false; err 651 src/dps8/doAppendCycleOperandRead.h err = true; err 656 src/dps8/doAppendCycleOperandRead.h err = true; err 661 src/dps8/doAppendCycleOperandRead.h err = true; err 666 src/dps8/doAppendCycleOperandRead.h err = true; err 668 src/dps8/doAppendCycleOperandRead.h if (err) { err 227 src/dps8/fnpuv.c int fd, err; err 246 src/dps8/fnpuv.c if ((err = ioctl (fd, TUNSETIFF, (void *) & ifr)) < 0) err 249 src/dps8/fnpuv.c return err; err 162 src/dps8/libtelnet.c const char* func, telnet_error_t err, err 181 src/dps8/libtelnet.c return err; err 413 src/dps8/segldr.c goto err; err 417 src/dps8/segldr.c goto err; err 424 src/dps8/segldr.c goto err; err 430 src/dps8/segldr.c goto err; err 436 src/dps8/segldr.c goto err; err 442 src/dps8/segldr.c goto err; err 446 src/dps8/segldr.c goto err; err 448 src/dps8/segldr.c err: err 163 src/libsir/include/sir.h void sir_geterrorinfo(sir_errorinfo* err); err 83 src/libsir/include/sir/errors.h bool _sir_validerror(uint32_t err) { err 84 src/libsir/include/sir/errors.h uint32_t masked = err & 0x8fffffffU; err 90 src/libsir/include/sir/errors.h uint16_t _sir_geterrcode(uint32_t err) { err 91 src/libsir/include/sir/errors.h return (err >> 16) & 0x7fffU; err 120 src/libsir/include/sir/errors.h bool __sir_seterror(uint32_t err, const char* func, const char* file, uint32_t line); err 121 src/libsir/include/sir/errors.h # define _sir_seterror(err) __sir_seterror(err, __func__, __file__, __LINE__) err 143 src/libsir/include/sir/errors.h void _sir_geterrorinfo(sir_errorinfo* err); err 64 src/libsir/src/sir.c void sir_geterrorinfo(sir_errorinfo* err) { err 65 src/libsir/src/sir.c _sir_geterrorinfo(err); err 86 src/libsir/src/sirerrors.c bool __sir_seterror(uint32_t err, const char* func, const char* file, uint32_t line) { err 87 src/libsir/src/sirerrors.c if (_sir_validerror(err)) { err 88 src/libsir/src/sirerrors.c _sir_te.lasterror = err; err 93 src/libsir/src/sirerrors.c if (_SIR_E_PLATFORM != err) { err 99 src/libsir/src/sirerrors.c if (_SIR_E_NOERROR != err) { err 235 src/libsir/src/sirerrors.c void _sir_geterrorinfo(sir_errorinfo* err) { err 236 src/libsir/src/sirerrors.c if (!_sir_validptr(err)) err 239 src/libsir/src/sirerrors.c (void)memset(err, 0, sizeof(sir_errorinfo)); err 241 src/libsir/src/sirerrors.c err->func = _sir_te.loc.func; err 242 src/libsir/src/sirerrors.c err->file = _sir_te.loc.file; err 243 src/libsir/src/sirerrors.c err->line = _sir_te.loc.line; err 245 src/libsir/src/sirerrors.c err->os_code = _sir_te.os_code; err 246 src/libsir/src/sirerrors.c (void)_sir_strncpy(err->os_msg, SIR_MAXERROR, (_sir_validstrnofail(_sir_te.os_msg) err 249 src/libsir/src/sirerrors.c err->code = _sir_geterrcode(SIR_E_UNKNOWN); err 258 src/libsir/src/sirerrors.c err->code = _sir_geterrcode(sir_errors[_mid].e); err 260 src/libsir/src/sirerrors.c (void)_sir_strncpy(err->msg, SIR_MAXERROR, _SIR_E_PLATFORM_ERRORMSG, SIR_MAXERROR); err 262 src/libsir/src/sirerrors.c (void)_sir_strncpy(err->msg, SIR_MAXERROR, sir_errors[_mid].msg, SIR_MAXERROR); err 1425 src/libsir/src/sirinternal.c int err = WSAGetLastError(); err 1427 src/libsir/src/sirinternal.c return _sir_handlewin32err(err); err 49 src/libsir/src/sirplugins.c const char* err = dlerror(); err 50 src/libsir/src/sirplugins.c _sir_selflog("error: dlopen('%s') failed (%s)", path, _SIR_PRNSTR(err)); err 59 src/libsir/src/sirplugins.c DWORD err = GetLastError(); err 60 src/libsir/src/sirplugins.c _sir_selflog("error: LoadLibraryA(%s) failed (%lu)", path, err); err 62 src/libsir/src/sirplugins.c return _sir_handlewin32err(err); err 223 src/libsir/src/sirplugins.c const char* err = dlerror(); err 225 src/libsir/src/sirplugins.c _SIR_PRNSTR(err)); err 232 src/libsir/src/sirplugins.c DWORD err = GetLastError(); err 234 src/libsir/src/sirplugins.c name, err); err 235 src/libsir/src/sirplugins.c (void)_sir_handlewin32err(err); err 264 src/libsir/src/sirplugins.c const char* err = dlerror(); err 265 src/libsir/src/sirplugins.c _sir_selflog("error: dlclose(%p) failed (%s)", plugin->handle, _SIR_PRNSTR(err)); err 270 src/libsir/src/sirplugins.c DWORD err = GetLastError(); err 271 src/libsir/src/sirplugins.c _sir_selflog("error: FreeLibrary(%p) failed (%lu)", plugin->handle, err); err 272 src/libsir/src/sirplugins.c return _sir_handlewin32err(err); err 55 src/libsir/src/sirthreadpool.c int err = errno; err 57 src/libsir/src/sirthreadpool.c return _sir_handleerr(err); err 241 src/simh/sim_disk.c uint32 err, tbc; err 252 src/simh/sim_disk.c err = sim_fseeko (uptr->fileref, da, SEEK_SET); /* set pos */ err 253 src/simh/sim_disk.c if (!err) { err 257 src/simh/sim_disk.c err = ferror (uptr->fileref); err 258 src/simh/sim_disk.c if ((!err) && (sectsread)) err 261 src/simh/sim_disk.c return err; err 343 src/simh/sim_disk.c uint32 err, tbc; err 354 src/simh/sim_disk.c err = sim_fseeko (uptr->fileref, da, SEEK_SET); /* set pos */ err 355 src/simh/sim_disk.c if (!err) { err 357 src/simh/sim_disk.c err = ferror (uptr->fileref); err 358 src/simh/sim_disk.c if ((!err) && (sectswritten)) err 361 src/simh/sim_disk.c return err; err 122 src/simh/sim_sock.c int err = WSAGetLastError (); err 126 src/simh/sim_sock.c for (i=0; (sock_errors[i].text) && (sock_errors[i].value != err); i++) err 128 src/simh/sim_sock.c if (sock_errors[i].value == err) err 129 src/simh/sim_sock.c (void)sprintf (err_buf, "Sockets: %s error %d - %s\r\n", emsg, err, sock_errors[i].text); err 132 src/simh/sim_sock.c (void)sprintf (err_buf, "Sockets: %s error %d\r\n", emsg, err); err 134 src/simh/sim_sock.c (void)sprintf (err_buf, "Sockets: %s error %d - %s\r\n", emsg, err, xstrerror_l(err)); err 143 src/simh/sim_sock.c int err = WSAGetLastError (); err 145 src/simh/sim_sock.c WSASetLastError (err); /* Retain Original socket error value */ err 681 src/simh/sim_sock.c int err; err 686 src/simh/sim_sock.c err = WSAStartup (wVersionRequested, &wsaData); /* start Winsock */ err 687 src/simh/sim_sock.c if (err != 0) err 688 src/simh/sim_sock.c sim_printf ("Winsock: startup error %d\n", err); err 776 src/simh/sim_sock.c int err; err 781 src/simh/sim_sock.c err = WSAGetLastError (); err 782 src/simh/sim_sock.c if (err == WSAEAFNOSUPPORT) /* expected error, just return */ err 1001 src/simh/sim_sock.c int sta = 0, err; err 1017 src/simh/sim_sock.c err = WSAGetLastError (); err 1018 src/simh/sim_sock.c if (err != WSAEWOULDBLOCK) err 1145 src/simh/sim_sock.c int rbytes, err; err 1151 src/simh/sim_sock.c err = WSAGetLastError (); err 1152 src/simh/sim_sock.c if (err == WSAEWOULDBLOCK) /* no data */ err 1155 src/simh/sim_sock.c if (err == EAGAIN) err 1158 src/simh/sim_sock.c if ((err != WSAETIMEDOUT) && /* expected errors after a connect failure */ err 1159 src/simh/sim_sock.c (err != WSAEHOSTUNREACH) && err 1160 src/simh/sim_sock.c (err != WSAECONNREFUSED) && err 1161 src/simh/sim_sock.c (err != WSAECONNABORTED) && err 1162 src/simh/sim_sock.c (err != WSAECONNRESET) && err 1163 src/simh/sim_sock.c (err != WSAEINTR)) /* or a close of a blocking read */ err 1172 src/simh/sim_sock.c int err, sbytes = send (sock, msg, nbytes, 0); err 1175 src/simh/sim_sock.c err = WSAGetLastError (); err 1176 src/simh/sim_sock.c if (err == WSAEWOULDBLOCK) /* no data */ err 1179 src/simh/sim_sock.c if (err == EAGAIN) err 59 src/simh/sim_sock.h # define WSASetLastError(err) errno = err