rc 387 src/dps8/dps8_absi.c int rc = udp_send (absi_state[unit].link, pkt, (uint16_t) sz, rc 389 src/dps8/dps8_absi.c if (rc < 0) rc 282 src/dps8/dps8_cable.c t_stat rc = back_cable_iom_to_scu (uncable, iom_unit_idx, iom_port_num, rc 284 src/dps8/dps8_cable.c if (rc) rc 286 src/dps8/dps8_cable.c return rc; rc 305 src/dps8/dps8_cable.c t_stat rc = back_cable_iom_to_scu (uncable, iom_unit_idx, iom_port_num, rc 307 src/dps8/dps8_cable.c if (rc) rc 309 src/dps8/dps8_cable.c return rc; rc 367 src/dps8/dps8_cable.c t_stat rc = back_cable_cpu_to_scu (uncable, cpu_unit_idx, cpu_port_num, rc 369 src/dps8/dps8_cable.c if (rc) rc 371 src/dps8/dps8_cable.c return rc; rc 391 src/dps8/dps8_cable.c t_stat rc = back_cable_cpu_to_scu (uncable, cpu_unit_idx, cpu_port_num, rc 393 src/dps8/dps8_cable.c if (rc) rc 395 src/dps8/dps8_cable.c return rc; rc 613 src/dps8/dps8_cable.c t_stat rc = cable_ctlr_to_iom (uncable, there, rc 615 src/dps8/dps8_cable.c if (rc) rc 617 src/dps8/dps8_cable.c return rc; rc 632 src/dps8/dps8_cable.c t_stat rc = cable_ctlr_to_iom (uncable, there, rc 634 src/dps8/dps8_cable.c if (rc) rc 636 src/dps8/dps8_cable.c return rc; rc 996 src/dps8/dps8_cable.c t_stat rc = cable_periph_to_ctlr (uncable, rc 1000 src/dps8/dps8_cable.c if (rc) rc 1002 src/dps8/dps8_cable.c return rc; rc 1018 src/dps8/dps8_cable.c t_stat rc = cable_periph_to_ctlr (uncable, rc 1022 src/dps8/dps8_cable.c if (rc) rc 1024 src/dps8/dps8_cable.c return rc; rc 1302 src/dps8/dps8_cable.c t_stat rc = SCPE_ARG; rc 1319 src/dps8/dps8_cable.c rc = sys_cable_ripout (0, NULL); rc 1321 src/dps8/dps8_cable.c rc = sys_cable_show (0, NULL); rc 1323 src/dps8/dps8_cable.c rc = sys_cable_show (1, NULL); rc 1325 src/dps8/dps8_cable.c rc = sys_cable_graph (); rc 1327 src/dps8/dps8_cable.c rc = cable_scu (arg, unit_num, & name_save); rc 1329 src/dps8/dps8_cable.c rc = cable_iom (arg, unit_num, & name_save); rc 1331 src/dps8/dps8_cable.c rc = cable_mtp (arg, unit_num, & name_save); rc 1333 src/dps8/dps8_cable.c rc = cable_ipc (arg, unit_num, & name_save); rc 1335 src/dps8/dps8_cable.c rc = cable_msp (arg, unit_num, & name_save); rc 1337 src/dps8/dps8_cable.c rc = cable_urp (arg, unit_num, & name_save); rc 1349 src/dps8/dps8_cable.c return rc; rc 620 src/dps8/dps8_console.c int rc = tcgetattr (0, & ttyTermios); /* get old flags */ rc 621 src/dps8/dps8_console.c if (rc) rc 650 src/dps8/dps8_console.c rc 657 src/dps8/dps8_console.c int rc = sscanf (text, "%*d.%*d RCP: Mount Reel %s %s ring on %s", rc 659 src/dps8/dps8_console.c if (rc == 3) rc 669 src/dps8/dps8_console.c rc = sscanf (text, "%*d.%*d RCP: Remount Reel %s %s ring on %s", rc 671 src/dps8/dps8_console.c if (rc == 3) rc 685 src/dps8/dps8_console.c rc = sscanf (text, "%*d as dial_ctl_: Channel %s dialed to Initializer", rc 687 src/dps8/dps8_console.c if (rc == 1) rc 1282 src/dps8/dps8_console.c iom_cmd_rc_t rc = IOM_CMD_PROCEED; rc 1388 src/dps8/dps8_console.c rc = IOM_CMD_DISCONNECT; rc 1401 src/dps8/dps8_console.c rc = IOM_CMD_DISCONNECT; rc 1423 src/dps8/dps8_console.c rc = IOM_CMD_ERROR; rc 1433 src/dps8/dps8_console.c rc = IOM_CMD_ERROR; rc 1475 src/dps8/dps8_console.c rc = IOM_CMD_PENDING; // command in progress; do not send terminate interrupt rc 1639 src/dps8/dps8_console.c return rc; rc 1709 src/dps8/dps8_console.c int rc = cfg_parse (__func__, cptr, opc_config_list, rc 1711 src/dps8/dps8_console.c if (rc == -1) // done rc 1714 src/dps8/dps8_console.c if (rc == -2) // error rc 1719 src/dps8/dps8_console.c const char * p = opc_config_list[rc].name; rc 1746 src/dps8/dps8_console.c rc); rc 1884 src/dps8/dps8_console.c int rc = sscanf (cptr, "%s", token); rc 1885 src/dps8/dps8_console.c if (rc != 1) rc 489 src/dps8/dps8_cpu.c int rc = cfg_parse (__func__, cptr, cpu_config_list, rc 491 src/dps8/dps8_cpu.c if (rc == -1) // done rc 495 src/dps8/dps8_cpu.c if (rc == -2) // error rc 501 src/dps8/dps8_cpu.c const char * p = cpu_config_list [rc] . name; rc 704 src/dps8/dps8_cpu.c (long) rc); rc 2889 src/dps8/dps8_cpu.c int rc = nanosleep (& req, & rem); // XXX Does this work on Windows ??? rc 2891 src/dps8/dps8_cpu.c if (rc == -1) rc 1182 src/dps8/dps8_crdpun.c iom_cmd_rc_t rc = IOM_CMD_PROCEED; rc 1237 src/dps8/dps8_crdpun.c int rc = punWriteRecord (iomUnitIdx, chan); rc 1238 src/dps8/dps8_crdpun.c if (rc) rc 1247 src/dps8/dps8_crdpun.c return rc; rc 1344 src/dps8/dps8_crdpun.c int rc = cfg_parse (__func__, cptr, pun_config_list, & cfg_state, & v); rc 1345 src/dps8/dps8_crdpun.c if (rc == -1) // done rc 1348 src/dps8/dps8_crdpun.c if (rc == -2) // error rc 1353 src/dps8/dps8_crdpun.c const char * p = pun_config_list[rc].name; rc 1362 src/dps8/dps8_crdpun.c (long) rc); rc 427 src/dps8/dps8_crdrdr.c ssize_t rc = read (fd, & ch, 1); rc 428 src/dps8/dps8_crdrdr.c if (rc <= 0) // eof or err rc 444 src/dps8/dps8_crdrdr.c ssize_t rc = read (fd, buffer, 80); rc 445 src/dps8/dps8_crdrdr.c if (rc < 0) rc 447 src/dps8/dps8_crdrdr.c return (int) rc; rc 454 src/dps8/dps8_crdrdr.c ssize_t rc = read (fd, buffer, rawCardImageBytes); rc 455 src/dps8/dps8_crdrdr.c if (rc < 0) rc 457 src/dps8/dps8_crdrdr.c return (int) rc; rc 527 src/dps8/dps8_crdrdr.c int rc = getCardLine (rdr_state [unitIdx].deckfd, cardImage); rc 528 src/dps8/dps8_crdrdr.c if (rc) { rc 530 src/dps8/dps8_crdrdr.c sim_printf ("uid1Sent: getCardLine returned %d\r\n", rc); rc 534 src/dps8/dps8_crdrdr.c rc = unlink (rdr_state [unitIdx].fname); rc 535 src/dps8/dps8_crdrdr.c if (rc) rc 567 src/dps8/dps8_crdrdr.c int rc = getCardLine (rdr_state [unitIdx].deckfd, cardImage); rc 568 src/dps8/dps8_crdrdr.c if (rc) { rc 628 src/dps8/dps8_crdrdr.c int rc = unlink (rdr_state [unitIdx].fname); rc 629 src/dps8/dps8_crdrdr.c if (rc) rc 656 src/dps8/dps8_crdrdr.c rc 657 src/dps8/dps8_crdrdr.c rc 859 src/dps8/dps8_crdrdr.c int rc = unlink (fqname); rc 860 src/dps8/dps8_crdrdr.c if (rc) rc 865 src/dps8/dps8_crdrdr.c rc = unlink (rdr_state [readerIndex] . fname); rc 866 src/dps8/dps8_crdrdr.c if (rc) rc 922 src/dps8/dps8_crdrdr.c iom_cmd_rc_t rc = IOM_CMD_PROCEED; rc 1002 src/dps8/dps8_crdrdr.c int rc = rdrReadRecord (iomUnitIdx, chan); rc 1004 src/dps8/dps8_crdrdr.c sim_printf ("rdrReadRecord returned %d\r\n", rc); rc 1006 src/dps8/dps8_crdrdr.c if (rc) rc 1015 src/dps8/dps8_crdrdr.c return rc; rc 99 src/dps8/dps8_dia.c int rc = cfg_parse ("DIA SET CONFIG", cptr, dia_config_list, & cfg_state, & v); rc 100 src/dps8/dps8_dia.c switch (rc) rc 114 src/dps8/dps8_dia.c sim_printf ("error: DIA SET CONFIG: Invalid cfg_parse rc <%ld>\n", (long) rc); rc 118 src/dps8/dps8_dia.c if (rc < 0) rc 429 src/dps8/dps8_dia.c int rc = dn_udp_send (dia_data.dia_unit_data[dev_unit_idx].link, rc 432 src/dps8/dps8_dia.c if (rc < 0) rc 872 src/dps8/dps8_disk.c int rc = fseek (unitp->fileref, rc 875 src/dps8/dps8_disk.c if (rc) rc 877 src/dps8/dps8_disk.c sim_warn ("%s: fseek (read) returned %d, errno %d\n", __func__, rc, errno); rc 901 src/dps8/dps8_disk.c rc = (int) fread (diskBuffer, sectorSizeBytes, rc 905 src/dps8/dps8_disk.c if (rc == 0) // EOF or error rc 969 src/dps8/dps8_disk.c int rc = fseek (unitp->fileref, rc 972 src/dps8/dps8_disk.c if (rc) rc 974 src/dps8/dps8_disk.c sim_printf ("fseek (read) returned %d, errno %d\n", rc, errno); rc 1003 src/dps8/dps8_disk.c rc = (int) fwrite (diskBuffer, sectorSizeBytes, rc 1008 src/dps8/dps8_disk.c if (rc != (int) tallySectors) rc 1010 src/dps8/dps8_disk.c sim_printf ("fwrite returned %d, errno %d\n", rc, errno); rc 1226 src/dps8/dps8_disk.c iom_cmd_rc_t rc = IOM_CMD_PROCEED; rc 1445 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1484 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1499 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1515 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1530 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1545 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1560 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1575 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1590 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1605 src/dps8/dps8_disk.c rc = IOM_CMD_ERROR; rc 1616 src/dps8/dps8_disk.c return rc; rc 2042 src/dps8/dps8_fnp2.c int rc = parse_ipaddr (tok, & ipaddr); rc 2043 src/dps8/dps8_fnp2.c if (rc < 0) rc 2246 src/dps8/dps8_fnp2.c int rc = cfg_parse ("fnpSetConfig", cptr, fnp_config_list, & cfg_state, & v); rc 2247 src/dps8/dps8_fnp2.c switch (rc) rc 2261 src/dps8/dps8_fnp2.c sim_printf ("error: fnpSetConfig: Invalid cfg_parse rc <%ld>\n", (long) rc); rc 2265 src/dps8/dps8_fnp2.c if (rc < 0) rc 2446 src/dps8/dps8_fnp2.c int rc = 0; rc 2447 src/dps8/dps8_fnp2.c rc = fnpuvInit (fnpData.telnet_port, fnpData.telnet_address); rc 2448 src/dps8/dps8_fnp2.c if (rc != 0) rc 6769 src/dps8/dps8_ins.c t_stat rc = scu_rscr ((uint) scuUnitIdx, current_running_cpu_idx, rc 6775 src/dps8/dps8_ins.c if (rc > 0) rc 6776 src/dps8/dps8_ins.c return rc; rc 7727 src/dps8/dps8_ins.c t_stat rc = scu_rmcm ((uint) scuUnitIdx, rc 7734 src/dps8/dps8_ins.c if (rc) rc 7735 src/dps8/dps8_ins.c return rc; rc 7804 src/dps8/dps8_ins.c t_stat rc = scu_rscr ((uint) scuUnitIdx, current_running_cpu_idx, rc 7811 src/dps8/dps8_ins.c if (rc) rc 7812 src/dps8/dps8_ins.c return rc; rc 8239 src/dps8/dps8_ins.c t_stat rc = scu_smcm ((uint) scuUnitIdx, rc 8241 src/dps8/dps8_ins.c if (rc) rc 8242 src/dps8/dps8_ins.c return rc; rc 8276 src/dps8/dps8_ins.c t_stat rc = scu_smic ((uint) scuUnitIdx, current_running_cpu_idx, rc 8278 src/dps8/dps8_ins.c if (rc) rc 8279 src/dps8/dps8_ins.c return rc; rc 8304 src/dps8/dps8_ins.c t_stat rc = scu_sscr ((uint) scuUnitIdx, current_running_cpu_idx, rc 8308 src/dps8/dps8_ins.c if (rc) rc 8309 src/dps8/dps8_ins.c return rc; rc 8318 src/dps8/dps8_ins.c int rc = doABSA (& result); rc 8319 src/dps8/dps8_ins.c if (rc) rc 8320 src/dps8/dps8_ins.c return rc; rc 1133 src/dps8/dps8_iom.c int rc = cfg_parse (__func__, cptr, iom_config_list, & cfg_state, & v); rc 1135 src/dps8/dps8_iom.c if (rc == -1) // done rc 1138 src/dps8/dps8_iom.c if (rc == -2) // error rc 1143 src/dps8/dps8_iom.c const char * name = iom_config_list[rc].name; rc 1251 src/dps8/dps8_iom.c sim_printf ("error: %s: Invalid cfg_parse rc <%ld>\n", __func__, (long) rc); rc 3114 src/dps8/dps8_iom.c int rc = d->iom_cmd (iomUnitIdx, chan); rc 3116 src/dps8/dps8_iom.c if (rc < 0) { rc 3128 src/dps8/dps8_iom.c if (rc == IOM_CMD_DISCONNECT) { rc 3296 src/dps8/dps8_iom.c int rc = iom_list_service (iom_unit_idx, IOM_CONNECT_CHAN, & ptro, & send, & uff); rc 3297 src/dps8/dps8_iom.c if (rc < 0) { rc 353 src/dps8/dps8_mgp.c int rc = iom_list_service(iom_unit_idx, chan, ptro, &send, &uff); rc 355 src/dps8/dps8_mgp.c if (rc < 0) rc 480 src/dps8/dps8_mgp.c iom_cmd_rc_t rc rc 482 src/dps8/dps8_mgp.c if (rc) rc 484 src/dps8/dps8_mgp.c return rc; rc 499 src/dps8/dps8_mgp.c rc = IOM_CMD_PENDING; rc 516 src/dps8/dps8_mgp.c rc = IOM_CMD_DISCONNECT; /* so send terminate interrupt */ rc 530 src/dps8/dps8_mgp.c rc 536 src/dps8/dps8_mgp.c return rc; rc 547 src/dps8/dps8_mgp.c iom_cmd_rc_t rc rc 566 src/dps8/dps8_mgp.c rc 571 src/dps8/dps8_mgp.c rc = IOM_CMD_DISCONNECT; /* send terminate interrupt */ rc 580 src/dps8/dps8_mgp.c return rc; rc 658 src/dps8/dps8_mt.c t_stat rc; rc 664 src/dps8/dps8_mt.c rc = sim_tape_set_capac (mt_unit + i, value, cptr, desc); rc 665 src/dps8/dps8_mt.c if (rc != SCPE_OK) rc 666 src/dps8/dps8_mt.c return rc; rc 1000 src/dps8/dps8_mt.c t_stat rc = sim_tape_rdrecf (unitp, & tape_statep -> buf [0], & tape_statep -> tbc, rc 1003 src/dps8/dps8_mt.c __func__, rc, tape_statep -> tbc); rc 1004 src/dps8/dps8_mt.c if (rc == MTSE_TMK) rc 1008 src/dps8/dps8_mt.c "%s: EOF: %s\n", __func__, simh_tape_msg (rc)); rc 1019 src/dps8/dps8_mt.c if (rc == MTSE_EOM) rc 1022 src/dps8/dps8_mt.c "%s: EOM: %s\n", __func__, simh_tape_msg (rc)); rc 1038 src/dps8/dps8_mt.c if (rc != 0) rc 1042 src/dps8/dps8_mt.c __func__, rc, simh_tape_msg (rc)); rc 1500 src/dps8/dps8_mt.c iom_cmd_rc_t rc = IOM_CMD_PROCEED; rc 2280 src/dps8/dps8_mt.c return rc; rc 2305 src/dps8/dps8_mt.c int rc = mtReadRecord (devUnitIdx, iomUnitIdx, chan); rc 2306 src/dps8/dps8_mt.c if (rc) rc 2326 src/dps8/dps8_mt.c int rc = mtWriteRecord (devUnitIdx, iomUnitIdx, chan); rc 2333 src/dps8/dps8_mt.c if (rc) rc 2374 src/dps8/dps8_mt.c return rc; rc 448 src/dps8/dps8_prt.c int rc = parseID (buffer, tally, qno, name); rc 456 src/dps8/dps8_prt.c if (rc == 0) rc 530 src/dps8/dps8_prt.c rc 531 src/dps8/dps8_prt.c rc 677 src/dps8/dps8_prt.c int rc = openPrtFile (prt_unit_num, buffer, tally); rc 678 src/dps8/dps8_prt.c if (rc < 0) // Can't open or can't write to print file; or ff cached rc 680 src/dps8/dps8_prt.c return rc == -3 ? 0 : rc; rc 1094 src/dps8/dps8_prt.c int rc = print_buf (prt_unit_num, isBCD, is_edited, slew, buffer, tally); rc 1095 src/dps8/dps8_prt.c if (rc == -1) // Can't open print file rc 1100 src/dps8/dps8_prt.c if (rc == -2) // Can't write to print file rc 1188 src/dps8/dps8_prt.c iom_cmd_rc_t rc = print_cmd (iomUnitIdx, chan, statep->prtUnitNum, statep->isBCD, rc 1190 src/dps8/dps8_prt.c if (rc) //-V547 rc 1191 src/dps8/dps8_prt.c return rc; rc 1276 src/dps8/dps8_prt.c iom_cmd_rc_t rc = print_cmd (iomUnitIdx, chan, statep->prtUnitNum, statep->isBCD, rc 1278 src/dps8/dps8_prt.c if (rc) //-V547 rc 1279 src/dps8/dps8_prt.c return rc; rc 1284 src/dps8/dps8_prt.c int rc = loadImageBuffer (iomUnitIdx, chan); rc 1285 src/dps8/dps8_prt.c if (rc) //-V547 rc 1369 src/dps8/dps8_prt.c iom_cmd_rc_t rc = print_cmd (iomUnitIdx, chan, statep->prtUnitNum, statep->isBCD, rc 1371 src/dps8/dps8_prt.c if (rc) //-V547 rc 1372 src/dps8/dps8_prt.c return rc; rc 1377 src/dps8/dps8_prt.c int rc = loadImageBuffer (iomUnitIdx, chan); rc 1378 src/dps8/dps8_prt.c if (rc) //-V547 rc 1620 src/dps8/dps8_prt.c int rc = print_buf (prt_unit_num, false, false, 1, NULL, 0); rc 1621 src/dps8/dps8_prt.c if (rc == -1) { // Can't open print file rc 1625 src/dps8/dps8_prt.c if (rc == -2) { // Can't write to print file rc 1636 src/dps8/dps8_prt.c int rc = print_buf (prt_unit_num, false, false, 2, NULL, 0); rc 1637 src/dps8/dps8_prt.c if (rc == -1) { // Can't open print file rc 1641 src/dps8/dps8_prt.c if (rc == -2) { // Can't write to print file rc 1652 src/dps8/dps8_prt.c int rc = print_buf (prt_unit_num, false, false, -1, NULL, 0); rc 1653 src/dps8/dps8_prt.c if (rc == -1) { // Can't open print file rc 1657 src/dps8/dps8_prt.c if (rc == -2) { // Can't write to print file rc 1699 src/dps8/dps8_prt.c iom_cmd_rc_t rc = print_cmd (iomUnitIdx, chan, statep->prtUnitNum, statep->isBCD, rc 1701 src/dps8/dps8_prt.c if (rc) //-V547 rc 1702 src/dps8/dps8_prt.c return rc; rc 1707 src/dps8/dps8_prt.c int rc = loadImageBuffer (iomUnitIdx, chan); rc 1708 src/dps8/dps8_prt.c if (rc) //-V547 rc 1714 src/dps8/dps8_prt.c int rc = readStatusRegister (iomUnitIdx, chan); rc 1715 src/dps8/dps8_prt.c if (rc) //-V547 rc 1721 src/dps8/dps8_prt.c int rc = loadVFCImage (iomUnitIdx, chan); rc 1722 src/dps8/dps8_prt.c if (rc) //-V547 rc 1998 src/dps8/dps8_prt.c int rc = cfg_parse (__func__, cptr, prt_config_list, rc 2000 src/dps8/dps8_prt.c if (rc == -1) // done rc 2003 src/dps8/dps8_prt.c if (rc == -2) // error rc 2008 src/dps8/dps8_prt.c const char * p = prt_config_list[rc].name; rc 2017 src/dps8/dps8_prt.c (long) rc); rc 864 src/dps8/dps8_scu.c int rc = cfg_parse ("scu_set_config", cptr, scu_config_list, rc 866 src/dps8/dps8_scu.c if (rc == -1) // done rc 869 src/dps8/dps8_scu.c if (rc == -2) // error rc 875 src/dps8/dps8_scu.c const char * p = scu_config_list [rc].name; rc 937 src/dps8/dps8_scu.c rc); rc 2191 src/dps8/dps8_scu.c int rc = 0; rc 2199 src/dps8/dps8_scu.c rc = 1; rc 2267 src/dps8/dps8_scu.c int rc; rc 2268 src/dps8/dps8_scu.c if ((rc = sim_activate (& iom_dev.units [iom_unit_idx], rc 2271 src/dps8/dps8_scu.c sim_warn ("sim_activate failed (%d)\n", rc); rc 2306 src/dps8/dps8_scu.c rc = 1; rc 2330 src/dps8/dps8_scu.c rc 2341 src/dps8/dps8_scu.c rc = 1; rc 2348 src/dps8/dps8_scu.c return rc; rc 542 src/dps8/dps8_socket_dev.c int rc = bind (socket_fd, (struct sockaddr *) & serv_addr, sizeof (serv_addr)); rc 543 src/dps8/dps8_socket_dev.c sim_printf ("bind() returned %d\n", rc); rc 545 src/dps8/dps8_socket_dev.c if (rc < 0) rc 574 src/dps8/dps8_socket_dev.c int rc = 0; rc 586 src/dps8/dps8_socket_dev.c rc = setsockopt (socket_fd, SOL_SOCKET, SO_REUSEADDR, rc 588 src/dps8/dps8_socket_dev.c sim_printf ("listen() setsockopt returned %d\n", rc); rc 589 src/dps8/dps8_socket_dev.c if (rc < 0) rc 596 src/dps8/dps8_socket_dev.c rc = ioctl (socket_fd, FIONBIO, (char *) & on); rc 597 src/dps8/dps8_socket_dev.c sim_printf ("listen() ioctl returned %d\n", rc); rc 598 src/dps8/dps8_socket_dev.c if (rc < 0) rc 605 src/dps8/dps8_socket_dev.c rc = listen (socket_fd, backlog); rc 606 src/dps8/dps8_socket_dev.c sim_printf ("listen() returned %d\n", rc); rc 608 src/dps8/dps8_socket_dev.c if (rc < 0) rc 616 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) rc)) & MASK36; // rc rc 663 src/dps8/dps8_socket_dev.c int rc = 0; rc 680 src/dps8/dps8_socket_dev.c rc = close (socket_fd); rc 682 src/dps8/dps8_socket_dev.c sim_printf ("close() close returned %d\n", rc); rc 683 src/dps8/dps8_socket_dev.c if (rc < 0) rc 690 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) ((word36s) rc)) & MASK36; // rc rc 756 src/dps8/dps8_socket_dev.c ssize_t rc = 0; rc 792 src/dps8/dps8_socket_dev.c rc = write (socket_fd, netdata, count); rc 793 src/dps8/dps8_socket_dev.c if (rc == -1) rc 796 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) rc)) & MASK36; // rc rc 804 src/dps8/dps8_socket_dev.c int rc = iom_list_service (iom_unit_idx, chan, ptro, & send, & uff); rc 805 src/dps8/dps8_socket_dev.c if (rc < 0) rc 877 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); rc 878 src/dps8/dps8_socket_dev.c if (rc) rc 879 src/dps8/dps8_socket_dev.c return rc; rc 902 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); rc 903 src/dps8/dps8_socket_dev.c if (rc) rc 904 src/dps8/dps8_socket_dev.c return rc; rc 935 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); rc 936 src/dps8/dps8_socket_dev.c if (rc) rc 937 src/dps8/dps8_socket_dev.c return rc; rc 961 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); rc 962 src/dps8/dps8_socket_dev.c if (rc) rc 963 src/dps8/dps8_socket_dev.c return rc; rc 987 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); rc 988 src/dps8/dps8_socket_dev.c if (rc) rc 989 src/dps8/dps8_socket_dev.c return rc; rc 999 src/dps8/dps8_socket_dev.c rc = skt_accept (unit_idx, p->IDCW_DEV_CODE, buffer); rc 1004 src/dps8/dps8_socket_dev.c return rc; // 3:command pending, don't send terminate interrupt, or rc 1017 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); rc 1018 src/dps8/dps8_socket_dev.c if (rc) rc 1019 src/dps8/dps8_socket_dev.c return rc; rc 1042 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); rc 1043 src/dps8/dps8_socket_dev.c if (rc) rc 1044 src/dps8/dps8_socket_dev.c return rc; rc 1054 src/dps8/dps8_socket_dev.c rc = skt_read8 (unit_idx, p->IDCW_DEV_CODE, tally, buffer); rc 1058 src/dps8/dps8_socket_dev.c return rc; // 3:command pending, don't send terminate interrupt, or rc 1071 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); rc 1072 src/dps8/dps8_socket_dev.c if (rc) rc 1073 src/dps8/dps8_socket_dev.c return rc; rc 1082 src/dps8/dps8_socket_dev.c rc = skt_write8 (iom_unit_idx, chan, unit_idx, p->IDCW_DEV_CODE, tally, buffer); rc 1086 src/dps8/dps8_socket_dev.c return rc; rc 1127 src/dps8/dps8_socket_dev.c int rc = 0; rc 1130 src/dps8/dps8_socket_dev.c rc = sk_cmd (iom_unit_idx, chan); rc 1137 src/dps8/dps8_socket_dev.c return rc; // Don't continue down the dcw list. rc 1843 src/dps8/dps8_sys.c t_stat rc = sim_tape_sprecsf (& mt_unit[0], 1, & skipped); rc 1844 src/dps8/dps8_sys.c if (rc == SCPE_OK) rc 1846 src/dps8/dps8_sys.c return rc; rc 1895 src/dps8/dps8_sys.c t_stat rc = run_cmd (RU_CONT, ""); rc 1896 src/dps8/dps8_sys.c return rc; rc 2989 src/dps8/dps8_sys.c int rc = add_book_segment (name, (int) segno); rc 2990 src/dps8/dps8_sys.c if (rc < 0) rc 3009 src/dps8/dps8_sys.c int rc = add_book_segment (name, (int) (c3 ++)); rc 3010 src/dps8/dps8_sys.c if (rc < 0) rc 3026 src/dps8/dps8_sys.c int rc = lookup_book_segment (name); rc 3027 src/dps8/dps8_sys.c if (rc < 0) rc 3037 src/dps8/dps8_sys.c current = rc; rc 3064 src/dps8/dps8_sys.c int rc = add_book_segment (name, (int) segno); rc 3065 src/dps8/dps8_sys.c if (rc < 0) rc 3191 src/dps8/dps8_sys.c int rc = lookup_system_book_name (w1, w2, & segno, & comp_offset); rc 3192 src/dps8/dps8_sys.c if (rc) rc 3418 src/dps8/dps8_sys.c t_stat rc = brk_cmd (arg, reformatted); rc 3419 src/dps8/dps8_sys.c return rc; rc 3819 src/dps8/dps8_sys.c int rc = sscanf (buf, "%s", name); rc 3820 src/dps8/dps8_sys.c if (rc != 1) rc 3853 src/dps8/dps8_sys.c int rc = sscanf (buf, "%s %s %s", name, fname, perm); rc 3854 src/dps8/dps8_sys.c if (rc != 3) rc 3868 src/dps8/dps8_sys.c int rc = sscanf (buf, "%s", name); rc 3869 src/dps8/dps8_sys.c if (rc != 1) rc 3897 src/dps8/dps8_sys.c int rc = sscanf (buf, "%s", name); rc 3898 src/dps8/dps8_sys.c if (rc != 1) rc 4957 src/dps8/dps8_sys.c int rc = cfg_parse ("sys_set_config", cptr, sys_config_list, & cfg_state, rc 4959 src/dps8/dps8_sys.c if (rc == -1) // done rc 4963 src/dps8/dps8_sys.c if (rc == -2) // error rc 4969 src/dps8/dps8_sys.c const char * p = sys_config_list[rc].name; rc 4976 src/dps8/dps8_sys.c sim_msg ("error: sys_set_config: Invalid cfg_parse rc <%ld>\n", (long) rc); rc 252 src/dps8/shm.c int rc = 0; rc 255 src/dps8/shm.c rc = flock(fd, LOCK_EX | LOCK_NB); rc 258 src/dps8/shm.c if (rc < 0) rc 276 src/dps8/shm.c int rc = 0; rc 279 src/dps8/shm.c rc = fcntl(fd, F_SETLK, &lock); rc 282 src/dps8/shm.c if (rc < 0) rc 414 src/dps8/shm.c int rc = 0; rc 417 src/dps8/shm.c rc = flock(fd, LOCK_EX | LOCK_NB); rc 420 src/dps8/shm.c if (rc < 0) rc 435 src/dps8/shm.c int rc = 0; rc 438 src/dps8/shm.c rc = fcntl(fd, F_SETLK, &lock); rc 441 src/dps8/shm.c if (rc < 0) rc 98 src/dps8/threadz.c int rc; rc 99 src/dps8/threadz.c rc = pthread_mutex_trylock (& libuv_lock); rc 100 src/dps8/threadz.c if (rc) rc 106 src/dps8/threadz.c rc = pthread_mutex_unlock (& libuv_lock); rc 107 src/dps8/threadz.c if (rc) rc 108 src/dps8/threadz.c sim_printf ("test_libuv_lock pthread_mutex_lock libuv_lock %d\n", rc); rc 154 src/dps8/threadz.c int rc= pthread_rwlock_wrlock (& mem_lock); rc 155 src/dps8/threadz.c if (rc) rc 156 src/dps8/threadz.c sim_printf ("%s pthread_rwlock_rdlock mem_lock %d\n", __func__, rc); rc 172 src/dps8/threadz.c int rc= pthread_rwlock_rdlock (& mem_lock); rc 173 src/dps8/threadz.c if (rc) rc 174 src/dps8/threadz.c sim_printf ("%s pthread_rwlock_rdlock mem_lock %d\n", __func__, rc); rc 189 src/dps8/threadz.c int rc= pthread_rwlock_wrlock (& mem_lock); rc 190 src/dps8/threadz.c if (rc) rc 191 src/dps8/threadz.c sim_printf ("%s pthread_rwlock_wrlock mem_lock %d\n", __func__, rc); rc 208 src/dps8/threadz.c int rc = pthread_rwlock_unlock (& mem_lock); rc 209 src/dps8/threadz.c if (rc) rc 210 src/dps8/threadz.c sim_printf ("%s pthread_rwlock_ublock mem_lock %d\n", __func__, rc); rc 225 src/dps8/threadz.c int rc = pthread_rwlock_unlock (& mem_lock); rc 226 src/dps8/threadz.c if (rc) rc 227 src/dps8/threadz.c sim_printf ("%s pthread_rwlock_ublock mem_lock %d\n", __func__, rc); rc 235 src/dps8/threadz.c int rc = pthread_rwlock_unlock (& mem_lock); rc 236 src/dps8/threadz.c if (rc) rc 237 src/dps8/threadz.c sim_printf ("%s pthread_rwlock_unlock mem_lock %d\n", __func__, rc); rc 248 src/dps8/threadz.c int rc; rc 249 src/dps8/threadz.c rc = pthread_mutex_lock (lock); rc 250 src/dps8/threadz.c if (rc) rc 251 src/dps8/threadz.c sim_printf ("lock_ptr %d\n", rc); rc 257 src/dps8/threadz.c int rc; rc 258 src/dps8/threadz.c rc = pthread_mutex_unlock (lock); rc 259 src/dps8/threadz.c if (rc) rc 260 src/dps8/threadz.c sim_printf ("unlock_ptr %d\n", rc); rc 270 src/dps8/threadz.c int rc; rc 271 src/dps8/threadz.c rc = pthread_mutex_lock (& scu_lock); rc 272 src/dps8/threadz.c if (rc) rc 273 src/dps8/threadz.c sim_printf ("lock_scu pthread_spin_lock scu %d\n", rc); rc 279 src/dps8/threadz.c int rc; rc 280 src/dps8/threadz.c rc = pthread_mutex_unlock (& scu_lock); rc 281 src/dps8/threadz.c if (rc) rc 282 src/dps8/threadz.c sim_printf ("unlock_scu pthread_spin_lock scu %d\n", rc); rc 291 src/dps8/threadz.c int rc; rc 292 src/dps8/threadz.c rc = pthread_mutex_lock (& iom_lock); rc 293 src/dps8/threadz.c if (rc) rc 294 src/dps8/threadz.c sim_printf ("%s pthread_spin_lock iom %d\n", __func__, rc); rc 299 src/dps8/threadz.c int rc; rc 300 src/dps8/threadz.c rc = pthread_mutex_unlock (& iom_lock); rc 301 src/dps8/threadz.c if (rc) rc 302 src/dps8/threadz.c sim_printf ("%s pthread_spin_lock iom %d\n", __func__, rc); rc 313 src/dps8/threadz.c int rc; rc 314 src/dps8/threadz.c rc = pthread_mutex_lock (& tst_lock); rc 315 src/dps8/threadz.c if (rc) rc 316 src/dps8/threadz.c sim_printf ("lock_tst pthread_mutex_lock tst_lock %d\n", rc); rc 322 src/dps8/threadz.c int rc; rc 323 src/dps8/threadz.c rc = pthread_mutex_unlock (& tst_lock); rc 324 src/dps8/threadz.c if (rc) rc 325 src/dps8/threadz.c sim_printf ("unlock_tst pthread_mutex_lock tst_lock %d\n", rc); rc 333 src/dps8/threadz.c int rc; rc 334 src/dps8/threadz.c rc = pthread_mutex_trylock (& tst_lock); rc 335 src/dps8/threadz.c if (rc) rc 341 src/dps8/threadz.c rc = pthread_mutex_unlock (& tst_lock); rc 342 src/dps8/threadz.c if (rc) rc 343 src/dps8/threadz.c sim_printf ("test_tst_lock pthread_mutex_lock tst_lock %d\n", rc); rc 457 src/dps8/threadz.c int rc; rc 464 src/dps8/threadz.c rc = pthread_mutex_init (& p->runLock, NULL); rc 465 src/dps8/threadz.c if (rc) rc 466 src/dps8/threadz.c sim_printf ("createCPUThread pthread_mutex_init runLock %d\n", rc); rc 467 src/dps8/threadz.c rc = pthread_cond_init (& p->runCond, NULL); rc 468 src/dps8/threadz.c if (rc) rc 469 src/dps8/threadz.c sim_printf ("createCPUThread pthread_cond_init runCond %d\n", rc); rc 477 src/dps8/threadz.c rc = pthread_cond_init (& p->sleepCond, NULL); rc 479 src/dps8/threadz.c rc = pthread_condattr_init (& p->sleepCondAttr); rc 480 src/dps8/threadz.c if (rc) rc 481 src/dps8/threadz.c sim_printf ("createCPUThread pthread_condattr_init sleepCond %d\n", rc); rc 483 src/dps8/threadz.c rc = pthread_condattr_setclock (& p->sleepCondAttr, CLOCK_MONOTONIC); rc 484 src/dps8/threadz.c if (rc) { rc 491 src/dps8/threadz.c rc = pthread_cond_init (& p->sleepCond, & p->sleepCondAttr); rc 493 src/dps8/threadz.c rc = pthread_cond_init (& p->sleepCond, NULL); rc 495 src/dps8/threadz.c if (rc) rc 496 src/dps8/threadz.c sim_printf ("createCPUThread pthread_cond_init sleepCond %d\n", rc); rc 499 src/dps8/threadz.c rc = pthread_create_with_cpu_policy( rc 506 src/dps8/threadz.c rc = pthread_create( rc 512 src/dps8/threadz.c if (rc) rc 513 src/dps8/threadz.c sim_printf ("createCPUThread pthread_create %d\n", rc); rc 569 src/dps8/threadz.c int rc; rc 573 src/dps8/threadz.c rc = pthread_mutex_lock (& p->runLock); rc 574 src/dps8/threadz.c if (rc) rc 575 src/dps8/threadz.c sim_printf ("cpuRunningWait pthread_mutex_lock %d\n", rc); rc 578 src/dps8/threadz.c rc = pthread_cond_wait (& p->runCond, & p->runLock); rc 579 src/dps8/threadz.c if (rc) rc 580 src/dps8/threadz.c sim_printf ("cpuRunningWait pthread_cond_wait %d\n", rc); rc 582 src/dps8/threadz.c rc = pthread_mutex_unlock (& p->runLock); rc 583 src/dps8/threadz.c if (rc) rc 584 src/dps8/threadz.c sim_printf ("cpuRunningWait pthread_mutex_unlock %d\n", rc); rc 591 src/dps8/threadz.c int rc; rc 619 src/dps8/threadz.c rc = pthread_cond_timedwait (& p->sleepCond, & scu_lock, & absTime); rc 621 src/dps8/threadz.c if (rc == ETIMEDOUT) { rc 625 src/dps8/threadz.c if (rc) { rc 626 src/dps8/threadz.c sim_printf ("sleepCPU pthread_cond_timedwait rc %ld usec %ld TR %lu CPU %lu\n", (long) rc, (long) usec, (unsigned long) cpu.rTR, (unsigned long) current_running_cpu_idx); rc 657 src/dps8/threadz.c int rc; rc 660 src/dps8/threadz.c rc = pthread_cond_signal (& p->sleepCond); rc 661 src/dps8/threadz.c if (rc) rc 662 src/dps8/threadz.c sim_printf ("wakeCPU pthread_cond_signal %d\n", rc); rc 695 src/dps8/threadz.c int rc; rc 706 src/dps8/threadz.c rc = pthread_mutex_init (& p->intrLock, NULL); rc 707 src/dps8/threadz.c if (rc) rc 708 src/dps8/threadz.c sim_printf ("createIOMThread pthread_mutex_init intrLock %d\n", rc); rc 709 src/dps8/threadz.c rc = pthread_cond_init (& p->intrCond, NULL); rc 710 src/dps8/threadz.c if (rc) rc 711 src/dps8/threadz.c sim_printf ("createIOMThread pthread_cond_init intrCond %d\n", rc); rc 714 src/dps8/threadz.c rc = pthread_create_with_cpu_policy( rc 721 src/dps8/threadz.c rc = pthread_create( rc 727 src/dps8/threadz.c if (rc) rc 728 src/dps8/threadz.c sim_printf ("createIOMThread pthread_create %d\n", rc); rc 743 src/dps8/threadz.c int rc; rc 745 src/dps8/threadz.c rc = pthread_mutex_lock (& p->intrLock); rc 746 src/dps8/threadz.c if (rc) rc 747 src/dps8/threadz.c sim_printf ("iomInterruptWait pthread_mutex_lock %d\n", rc); rc 751 src/dps8/threadz.c rc = pthread_cond_wait (& p->intrCond, & p->intrLock); rc 752 src/dps8/threadz.c if (rc) rc 753 src/dps8/threadz.c sim_printf ("iomInterruptWait pthread_cond_wait %d\n", rc); rc 767 src/dps8/threadz.c int rc; rc 770 src/dps8/threadz.c rc = pthread_cond_signal (& p->intrCond); rc 771 src/dps8/threadz.c if (rc) rc 772 src/dps8/threadz.c sim_printf ("iomInterruptDone pthread_cond_signal %d\n", rc); rc 773 src/dps8/threadz.c rc = pthread_mutex_unlock (& p->intrLock); rc 774 src/dps8/threadz.c if (rc) rc 775 src/dps8/threadz.c sim_printf ("iomInterruptDone pthread_mutex_unlock %d\n", rc); rc 782 src/dps8/threadz.c int rc; rc 784 src/dps8/threadz.c rc = pthread_mutex_lock (& p->intrLock); rc 785 src/dps8/threadz.c if (rc) rc 786 src/dps8/threadz.c sim_printf ("iomDoneWait pthread_mutex_lock %d\n", rc); rc 789 src/dps8/threadz.c rc = pthread_cond_wait (& p->intrCond, & p->intrLock); rc 790 src/dps8/threadz.c if (rc) rc 791 src/dps8/threadz.c sim_printf ("iomDoneWait pthread_cond_wait %d\n", rc); rc 793 src/dps8/threadz.c rc = pthread_mutex_unlock (& p->intrLock); rc 794 src/dps8/threadz.c if (rc) rc 795 src/dps8/threadz.c sim_printf ("iomDoneWait pthread_mutex_unlock %d\n", rc); rc 802 src/dps8/threadz.c int rc; rc 804 src/dps8/threadz.c rc = pthread_mutex_lock (& p->intrLock); rc 805 src/dps8/threadz.c if (rc) rc 806 src/dps8/threadz.c sim_printf ("setIOMInterrupt pthread_mutex_lock %d\n", rc); rc 809 src/dps8/threadz.c rc = pthread_cond_wait(&p->intrCond, &p->intrLock); rc 810 src/dps8/threadz.c if (rc) rc 811 src/dps8/threadz.c sim_printf ("setIOMInterrupt pthread_cond_wait intrLock %d\n", rc); rc 817 src/dps8/threadz.c rc = pthread_cond_signal (& p->intrCond); rc 818 src/dps8/threadz.c if (rc) rc 819 src/dps8/threadz.c sim_printf ("setIOMInterrupt pthread_cond_signal %d\n", rc); rc 820 src/dps8/threadz.c rc = pthread_mutex_unlock (& p->intrLock); rc 821 src/dps8/threadz.c if (rc) rc 822 src/dps8/threadz.c sim_printf ("setIOMInterrupt pthread_mutex_unlock %d\n", rc); rc 862 src/dps8/threadz.c int rc; rc 873 src/dps8/threadz.c rc = pthread_mutex_init (& p->connectLock, NULL); rc 874 src/dps8/threadz.c if (rc) rc 875 src/dps8/threadz.c sim_printf ("createChnThread pthread_mutex_init connectLock %d\n", rc); rc 876 src/dps8/threadz.c rc = pthread_cond_init (& p->connectCond, NULL); rc 877 src/dps8/threadz.c if (rc) rc 878 src/dps8/threadz.c sim_printf ("createChnThread pthread_cond_init connectCond %d\n", rc); rc 881 src/dps8/threadz.c rc = pthread_create_with_cpu_policy( rc 888 src/dps8/threadz.c rc = pthread_create( rc 894 src/dps8/threadz.c if (rc) rc 895 src/dps8/threadz.c sim_printf ("createChnThread pthread_create %d\n", rc); rc 910 src/dps8/threadz.c int rc; rc 913 src/dps8/threadz.c rc = pthread_mutex_lock (& p->connectLock); rc 914 src/dps8/threadz.c if (rc) rc 915 src/dps8/threadz.c sim_printf ("chnConnectWait pthread_mutex_lock %d\n", rc); rc 919 src/dps8/threadz.c rc = pthread_cond_wait (& p->connectCond, & p->connectLock); rc 920 src/dps8/threadz.c if (rc) rc 921 src/dps8/threadz.c sim_printf ("chnConnectWait pthread_cond_wait %d\n", rc); rc 935 src/dps8/threadz.c int rc; rc 938 src/dps8/threadz.c rc = pthread_cond_signal (& p->connectCond); rc 939 src/dps8/threadz.c if (rc) rc 940 src/dps8/threadz.c sim_printf ("chnInterruptDone pthread_cond_signal %d\n", rc); rc 941 src/dps8/threadz.c rc = pthread_mutex_unlock (& p->connectLock); rc 942 src/dps8/threadz.c if (rc) rc 943 src/dps8/threadz.c sim_printf ("chnConnectDone pthread_mutex_unlock %d\n", rc); rc 950 src/dps8/threadz.c int rc; rc 952 src/dps8/threadz.c rc = pthread_mutex_lock (& p->connectLock); rc 953 src/dps8/threadz.c if (rc) rc 954 src/dps8/threadz.c sim_printf ("setChnConnect pthread_mutex_lock %d\n", rc); rc 957 src/dps8/threadz.c rc = pthread_cond_wait(&p->connectCond, &p->connectLock); rc 958 src/dps8/threadz.c if (rc) rc 959 src/dps8/threadz.c sim_printf ("setChnInterrupt pthread_cond_wait connectLock %d\n", rc); rc 965 src/dps8/threadz.c rc = pthread_cond_signal (& p->connectCond); rc 966 src/dps8/threadz.c if (rc) rc 967 src/dps8/threadz.c sim_printf ("setChnConnect pthread_cond_signal %d\n", rc); rc 968 src/dps8/threadz.c rc = pthread_mutex_unlock (& p->connectLock); rc 969 src/dps8/threadz.c if (rc) rc 970 src/dps8/threadz.c sim_printf ("setChnConnect pthread_mutex_unlock %d\n", rc); rc 222 src/dps8/udplib.c int rc; rc 255 src/dps8/udplib.c rc = fcntl (sock, F_SETFL, fcntl (sock, F_GETFL, 0) | O_NONBLOCK); rc 256 src/dps8/udplib.c if (rc == -1) rc 266 src/dps8/udplib.c rc = bind (sock, (struct sockaddr *) & si_me, sizeof (si_me)); rc 267 src/dps8/udplib.c if (rc == -1) rc 275 src/dps8/udplib.c rc = getaddrinfo (udp_links [link] . rhost, udp_links [link] . rport, NULL, rc 277 src/dps8/udplib.c if (rc == -1) rc 280 src/dps8/udplib.c rc = connect (sock, ai -> ai_addr, sizeof (struct sockaddr)); rc 281 src/dps8/udplib.c if (rc == -1) rc 362 src/dps8/udplib.c ssize_t rc = send (udp_links [link] . sock, & pkt, (size_t) pktlen, 0); rc 363 src/dps8/udplib.c if (rc == -1) rc 650 src/dps8/udplib.c int rc; rc 652 src/dps8/udplib.c rc = udp_create ("4500::4426", & linkno); rc 653 src/dps8/udplib.c if (rc < 0) rc 664 src/dps8/udplib.c rc = udp_receive (linkno, pkt, psz); rc 665 src/dps8/udplib.c if (rc < 0) rc 671 src/dps8/udplib.c else if (rc == 0) rc 678 src/dps8/udplib.c for (int i = 0; i < rc; i ++) rc 247 src/simh/sim_fio.c int rc = 0; rc 266 src/simh/sim_fio.c rc = fcntl (fileno(fsc), F_SETLK, &lock); rc 267 src/simh/sim_fio.c if (rc < 0) { rc 282 src/simh/sim_fio.c rc = flock (fileno(fsc), LOCK_EX | LOCK_NB); rc 283 src/simh/sim_fio.c if (rc < 0) {