readerIndex 754 src/dps8/dps8_crdrdr.c static void submit (enum deckFormat fmt, char * fname, uint16 readerIndex) readerIndex 756 src/dps8/dps8_crdrdr.c if (readerIndex >= N_RDR_UNITS_MAX) { readerIndex 757 src/dps8/dps8_crdrdr.c sim_warn("crdrdr: submit called with invalid reader index %ld\n", (long) readerIndex); readerIndex 769 src/dps8/dps8_crdrdr.c strcpy (rdr_state [readerIndex].fname, fname); readerIndex 770 src/dps8/dps8_crdrdr.c rdr_state [readerIndex].deckfd = deckfd; readerIndex 771 src/dps8/dps8_crdrdr.c rdr_state [readerIndex].deckState = deckStart; readerIndex 772 src/dps8/dps8_crdrdr.c rdr_state [readerIndex].deckFormat = fmt; readerIndex 774 src/dps8/dps8_crdrdr.c rdrCardReady (readerIndex); readerIndex 777 src/dps8/dps8_crdrdr.c static void scanForCards(uint16 readerIndex) readerIndex 781 src/dps8/dps8_crdrdr.c if (readerIndex >= N_RDR_UNITS_MAX) { readerIndex 782 src/dps8/dps8_crdrdr.c sim_warn("crdrdr: scanForCards called with invalid reader index %d\n", readerIndex); readerIndex 787 src/dps8/dps8_crdrdr.c sprintf(rdr_dir, "/tmp/%s%c", rdr_name, 'a' + readerIndex); readerIndex 789 src/dps8/dps8_crdrdr.c sprintf(rdr_dir, "%s/%s%c", getenv("TEMP"), rdr_name, 'a' + readerIndex); readerIndex 794 src/dps8/dps8_crdrdr.c sprintf(rdr_dir, "%s%s%c", rdr_path_prefix, rdr_name, 'a' + readerIndex); readerIndex 826 src/dps8/dps8_crdrdr.c if (rdr_state [readerIndex] . deckfd < 0) readerIndex 830 src/dps8/dps8_crdrdr.c submit (cardDeck, fqname, readerIndex); readerIndex 835 src/dps8/dps8_crdrdr.c submit (sevenDeck, fqname, readerIndex); readerIndex 840 src/dps8/dps8_crdrdr.c submit (streamDeck, fqname, readerIndex); readerIndex 850 src/dps8/dps8_crdrdr.c if (rdr_state [readerIndex] . deckfd >= 0) readerIndex 852 src/dps8/dps8_crdrdr.c close (rdr_state [readerIndex] . deckfd); readerIndex 853 src/dps8/dps8_crdrdr.c rc = unlink (rdr_state [readerIndex] . fname); readerIndex 856 src/dps8/dps8_crdrdr.c rdr_state [readerIndex] . deckfd = -1; readerIndex 857 src/dps8/dps8_crdrdr.c rdr_state [readerIndex] . deckState = deckStart;