sprintf 532 src/dps8/dps8_append.c sprintf (buf, "*** SDW Uninitialized ***"); sprintf 534 src/dps8/dps8_append.c sprintf (buf, sprintf 954 src/dps8/dps8_console.c sprintf (buf, "^T attn %c %c cnt %d next %d\r\n", sprintf 1017 src/dps8/dps8_console.c sprintf (buf, "\r%s returned %d '%s'\r\n", sprintf 1196 src/dps8/dps8_cpu.c sprintf (buf, "ADDR=%06o R1=%o R2=%o R3=%o F=%o FC=%o BOUND=%o R=%o " sprintf 4504 src/dps8/dps8_cpu.c sprintf (serial, "%-11u", cpus[cpuNo].switches.serno); sprintf 616 src/dps8/dps8_crdpun.c sprintf (template, "%s%s/%s.spool.%s.XXXXXX.pun", sprintf 623 src/dps8/dps8_crdpun.c sprintf (template, "%s.spool.%s.XXXXXX.pun", sprintf 932 src/dps8/dps8_crdpun.c sprintf(punch_file_name, "%5.5s.%22.22s", sprintf 508 src/dps8/dps8_crdrdr.c sprintf ((char *) cardImage, "++UID %d", jobNo); sprintf 614 src/dps8/dps8_crdrdr.c sprintf ((char *) cardImage, "++UID %d", jobNo); sprintf 631 src/dps8/dps8_crdrdr.c sprintf 642 src/dps8/dps8_crdrdr.c sprintf 787 src/dps8/dps8_crdrdr.c sprintf(rdr_dir, "/tmp/%s%c", rdr_name, 'a' + readerIndex); sprintf 789 src/dps8/dps8_crdrdr.c sprintf(rdr_dir, "%s/%s%c", getenv("TEMP"), rdr_name, 'a' + readerIndex); sprintf 794 src/dps8/dps8_crdrdr.c sprintf(rdr_dir, "%s%s%c", rdr_path_prefix, rdr_name, 'a' + readerIndex); sprintf 2481 src/dps8/dps8_fnp2.c sprintf (name, "%c.h%03d", 'a' + fnp_unit_idx, lineno); sprintf 2585 src/dps8/dps8_fnp2.c sprintf ((char *) buf, "DPS8/M 3270 connection to %c.%03d.%ld ttype %s\n", fnpno+'a',lineno, (long)p->stationNo, p->ttype); sprintf 2961 src/dps8/dps8_fnp2.c sprintf (buf2, "Attached to line %c.h%03d\r\n", fnp_unit_idx +'a', lineno); sprintf 25 src/dps8/dps8_prom.h sprintf ((char *) PROM, \ sprintf 454 src/dps8/dps8_prt.c sprintf(split_prefix, "prt%c/", unit_designator); sprintf 457 src/dps8/dps8_prt.c sprintf (template, "%s%sprt%c.spool.XXXXXX.prt", prt_path, split_prefix, unit_designator); sprintf 459 src/dps8/dps8_prt.c sprintf (template, "%s%sprt%c.spool.%s.%s.XXXXXX.prt", prt_path, split_prefix, unit_designator, qno, name); sprintf 328 src/dps8/dps8_socket_dev.c sprintf (huh, "E%d", _errno); sprintf 2386 src/dps8/dps8_sys.c sprintf (buf, "%s:%s+0%0o", book_segments[i].segname, sprintf 2411 src/dps8/dps8_sys.c sprintf (buf, "%s:%s+0%0o", book_segments[i].segname, sprintf 2424 src/dps8/dps8_sys.c sprintf (buf, "%s:+0%0o", book_segments[i].segname, sprintf 2470 src/dps8/dps8_sys.c sprintf 2481 src/dps8/dps8_sys.c sprintf 2534 src/dps8/dps8_sys.c sprintf (offset_str, " %06o", offset); sprintf 3382 src/dps8/dps8_sys.c sprintf (reformatted, "0%04o%06o%s", segno, offset, buf + where); sprintf 4328 src/dps8/dps8_sys.c sprintf(statenme, "%s.state", rssuffix); sprintf 4330 src/dps8/dps8_sys.c sprintf(statenme, "state"); sprintf 51 src/dps8/dps8_utils.c sprintf(buffer, "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s", sprintf 117 src/dps8/dps8_utils.c sprintf(buff, " pr%d|%o", n, offset); sprintf 121 src/dps8/dps8_utils.c sprintf(buff, " %06o", address); sprintf 156 src/dps8/dps8_utils.c sprintf(msg, "getModReg(tag out-of-range %o)", tag); sprintf 1104 src/dps8/fnpuv.c sprintf (ipaddr, "%d.%d.%d.%d", oct1, oct2, oct3, oct4); sprintf 67 src/dps8/shm.c sprintf(buf, "dps8m.%s", key); sprintf 70 src/dps8/shm.c sprintf(lck, ".%s", buf); sprintf 212 src/dps8/shm.c (void)sprintf(sthostname, "(unknown)"); sprintf 215 src/dps8/shm.c (void)sprintf(shostname, "on %s\n", sthostname); sprintf 358 src/dps8/shm.c sprintf(buf, "dps8m.%s", key); sprintf 361 src/dps8/shm.c sprintf(lck, ".%s", buf); sprintf 505 src/dps8/threadz.c sprintf (nm, "CPU %c", 'a' + cpuNum); sprintf 694 src/dps8/threadz.c sprintf (nm, "IOM %c", 'a' + iomNum); sprintf 861 src/dps8/threadz.c sprintf (nm, "chn %c/%u %s", 'a' + iomNum, chnNum, devTypeStr); sprintf 165 src/dps8/udplib.c sprintf (udp_links [link] . lport, "%d", lportno); sprintf 167 src/dps8/udplib.c sprintf (udp_links [link] . rhost, "localhost"); sprintf 168 src/dps8/udplib.c sprintf (udp_links [link] . rport, "%d", rport); sprintf 177 src/dps8/udplib.c sprintf (udp_links [link] . lport, "%d", lportno); sprintf 185 src/dps8/udplib.c sprintf (udp_links [link] . rhost, "%s", host); sprintf 186 src/dps8/udplib.c sprintf (udp_links [link] . rport, "%s", port); sprintf 246 src/dps8/udplib.c sprintf 1307 src/simh/scp.c sprintf(envstr, "%s=%s", envname, envval); sprintf 1768 src/simh/scp.c sprintf(&cbuf[strlen(cbuf)], "%s%s%s", strchr(argv[i], ' ') ? "\"" : "", argv[i], strchr(argv[i], ' ') ? "\"" : ""); //-V755 sprintf 1986 src/simh/scp.c sprintf (sim_prompt, "%s ", gbuf); sprintf 2120 src/simh/scp.c sprintf (rangebuf, "[%d:%d]", 0, rptr->depth-1); sprintf 2153 src/simh/scp.c sprintf (namebuf, "%*s", -((int)max_namelen), rptr->name); sprintf 2155 src/simh/scp.c sprintf (rangebuf, "[%d:%d]", 0, rptr->depth-1); sprintf 2156 src/simh/scp.c sprintf (namebuf, "%s%*s", rptr->name, (int)(strlen(rptr->name))-((int)max_namelen), rangebuf); sprintf 2210 src/simh/scp.c sprintf (header, "\n%s device SET commands:\n\n", dptr->name); sprintf 2222 src/simh/scp.c sprintf (buf, "SET %s %s%s", sim_dname (dptr), mptr->mstring, (strchr(mptr->mstring, '=')) ? "" : (MODMASK(mptr,MTAB_VALR) ? "=val" : (MODMASK(mptr,MTAB_VALO) ? "{=val}" : ""))); sprintf 2232 src/simh/scp.c sprintf (buf, "SET %s ENABLE", sim_dname (dptr)); sprintf 2234 src/simh/scp.c sprintf (buf, "SET %s DISABLE", sim_dname (dptr)); sprintf 2239 src/simh/scp.c sprintf (buf, "SET %s DEBUG", sim_dname (dptr)); sprintf 2241 src/simh/scp.c sprintf (buf, "SET %s NODEBUG", sim_dname (dptr)); sprintf 2268 src/simh/scp.c sprintf (buf, "SET %sn ENABLE", sim_dname (dptr)); sprintf 2270 src/simh/scp.c sprintf (buf, "SET %sn DISABLE", sim_dname (dptr)); sprintf 2280 src/simh/scp.c sprintf (buf, "SET %s%s %s%s", sim_dname (dptr), (dptr->numunits > 1) ? "n" : "0", mptr->mstring, (strchr(mptr->mstring, '=')) ? "" : (MODMASK(mptr,MTAB_VALR) ? "=val" : (MODMASK(mptr,MTAB_VALO) ? "{=val}": ""))); sprintf 2302 src/simh/scp.c sprintf (header, "\n%s device SHOW commands:\n\n", dptr->name); sprintf 2315 src/simh/scp.c sprintf (buf, "SHOW %s %s%s", sim_dname (dptr), mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "{=arg}" : ""); sprintf 2321 src/simh/scp.c sprintf (buf, "SHOW %s DEBUG", sim_dname (dptr)); sprintf 2331 src/simh/scp.c sprintf (buf, "SHOW %s%s %s%s", sim_dname (dptr), (dptr->numunits > 1) ? "n" : "0", mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "=arg" : ""); sprintf 2958 src/simh/scp.c sprintf(&rbuf[strlen(rbuf)], "%s%c%s%c\"", (i != 1) ? " " : "", quote, do_arg[i], quote); sprintf 2961 src/simh/scp.c sprintf(&rbuf[strlen(rbuf)], "%s%s", (i != 1) ? " " : "", do_arg[i]); sprintf 2980 src/simh/scp.c sprintf (rbuf, "%4d-%02d-%02d", tmnow->tm_year+1900, tmnow->tm_mon+1, tmnow->tm_mday); sprintf 2984 src/simh/scp.c sprintf (rbuf, "%02d:%02d:%02d", tmnow->tm_hour, tmnow->tm_min, tmnow->tm_sec); sprintf 2988 src/simh/scp.c sprintf (rbuf, "%04d-%02d-%02dT%02d:%02d:%02d", tmnow->tm_year+1900, tmnow->tm_mon+1, tmnow->tm_mday, tmnow->tm_hour, tmnow->tm_min, tmnow->tm_sec); sprintf 3014 src/simh/scp.c sprintf (rbuf, "%d", (tmnow->tm_year + 1900)/100); sprintf 3029 src/simh/scp.c sprintf (rbuf, "%d", cal_year); /* 2 digit year */ sprintf 3031 src/simh/scp.c sprintf (rbuf, "%d", cal_year + 1900); /* 4 digit year */ sprintf 3047 src/simh/scp.c sprintf (rbuf, "%d", (tmnow->tm_wday ? tmnow->tm_wday : 7)); sprintf 3066 src/simh/scp.c sprintf (rbuf, "%02d", iso_wk); sprintf 3068 src/simh/scp.c sprintf (rbuf, "%04d", iso_yr); sprintf 3088 src/simh/scp.c sprintf (rbuf, "%08X", sim_last_cmd_stat); sprintf 3092 src/simh/scp.c sprintf (rbuf, "%s", sim_error_text (sim_last_cmd_stat)); sprintf 3096 src/simh/scp.c sprintf (rbuf, "%s", sim_do_echo ? "-V" : ""); sprintf 3100 src/simh/scp.c sprintf (rbuf, "%s", sim_do_echo ? "-V" : ""); sprintf 3104 src/simh/scp.c sprintf (rbuf, "%s", sim_localopc ? "1" : ""); sprintf 3108 src/simh/scp.c sprintf (rbuf, "%s", sim_quiet ? "-Q" : ""); sprintf 3112 src/simh/scp.c sprintf (rbuf, "%s", sim_show_message ? "" : "-Q"); sprintf 3117 src/simh/scp.c sprintf (rbuf, "%ld", (long)gethostid()); sprintf 3119 src/simh/scp.c sprintf (rbuf, "00000000"); sprintf 3125 src/simh/scp.c sprintf (rbuf, "%ld", (long)getuid()); sprintf 3127 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3133 src/simh/scp.c sprintf (rbuf, "%ld", (long)getgid()); sprintf 3135 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3141 src/simh/scp.c sprintf (rbuf, "%ld", (long)geteuid()); sprintf 3143 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3149 src/simh/scp.c sprintf (rbuf, "%ld", (long)getegid()); sprintf 3151 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3157 src/simh/scp.c sprintf (rbuf, "%ld", (long)getpid()); sprintf 3159 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3165 src/simh/scp.c sprintf (rbuf, "%ld", (long)getppid()); sprintf 3167 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3173 src/simh/scp.c sprintf (rbuf, "%ld", (long)getpgid(getpid())); sprintf 3175 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3181 src/simh/scp.c sprintf (rbuf, "%ld", (long)getsid(getpid())); sprintf 3183 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3189 src/simh/scp.c sprintf (rbuf, "LITTLE"); sprintf 3191 src/simh/scp.c sprintf (rbuf, "BIG"); sprintf 3193 src/simh/scp.c sprintf (rbuf, "UNKNOWN"); sprintf 3198 src/simh/scp.c sprintf (rbuf, "%s", sim_name); sprintf 3203 src/simh/scp.c sprintf (rbuf, "%s", VER_H_GIT_VERSION); sprintf 3205 src/simh/scp.c sprintf (rbuf, "UNKNOWN"); sprintf 3211 src/simh/scp.c sprintf (rbuf, "%s", VER_H_GIT_HASH); sprintf 3213 src/simh/scp.c sprintf (rbuf, "0000000000000000000000000000000000000000"); sprintf 3219 src/simh/scp.c sprintf (rbuf, "%s", VER_H_GIT_RELT); sprintf 3221 src/simh/scp.c sprintf (rbuf, "X"); sprintf 3227 src/simh/scp.c sprintf (rbuf, "%s", VER_H_GIT_DATE); sprintf 3229 src/simh/scp.c sprintf (rbuf, "UNKNOWN"); sprintf 3236 src/simh/scp.c sprintf(rbuf, "%ld", (long)get_nprocs()); sprintf 3240 src/simh/scp.c sprintf (rbuf, "%llu", sprintf 3243 src/simh/scp.c sprintf(rbuf, "1"); sprintf 4294 src/simh/scp.c sprintf (&capac_buf[strlen (capac_buf)], "%s%s", scale, width); sprintf 4637 src/simh/scp.c sprintf(build_os_version_raw, "%.254s", BUILD_PROM_OSV_TEXT); sprintf 4638 src/simh/scp.c sprintf(build_os_arch_raw, "%.254s", BUILD_PROM_OSA_TEXT); sprintf 4674 src/simh/scp.c sprintf(gnumver, "%.1s", __VERSION__); sprintf 4675 src/simh/scp.c sprintf(postver, "%.1023s", __VERSION__); sprintf 4698 src/simh/scp.c sprintf(clangllvmver, "%.1023s", __clang_version__); sprintf 5661 src/simh/scp.c sprintf (uname, "%s%d", sim_dname (d), (int)(uptr-d->units)); sprintf 7192 src/simh/scp.c sprintf (tptr, "\\%03o", *iptr); sprintf 7986 src/simh/scp.c sprintf (buffer, "%*s", -((int)width), dbuf); sprintf 8062 src/simh/scp.c sprintf (frac, ".%03.0f%03.0f", msecs, usecs); sprintf 8069 src/simh/scp.c sprintf (buf, "%s%.0f day%s %02.0f:%02.0f:%02.0f%s hour%s", sign, days, (days != 1)? "s" : "", hours, mins, secs, frac, (days == 1) ? "s" : ""); sprintf 8072 src/simh/scp.c sprintf (buf, "%s%.0f:%02.0f:%02.0f%s hour", sign, hours, mins, secs, frac); sprintf 8075 src/simh/scp.c sprintf (buf, "%s%.0f:%02.0f%s minute", sign, mins, secs, frac); sprintf 8078 src/simh/scp.c sprintf (buf, "%s%.0f%s second", sign, secs, frac); sprintf 8082 src/simh/scp.c sprintf (buf, "%s%.0f.%s msec", sign, msecs, frac+4); sprintf 8084 src/simh/scp.c sprintf (buf, "%s%.0f msec", sign, msecs); sprintf 8087 src/simh/scp.c sprintf (buf, "%s%.0f usec", sign, usecs); sprintf 8902 src/simh/scp.c sprintf (msg, "%s: %s", brk->desc, addr); sprintf 8909 src/simh/scp.c sprintf (msg, "%s Breakpoint at: %s\n", put_switches (buf, sizeof(buf), sim_brk_match_type), addr); sprintf 9445 src/simh/scp.c sprintf (dstr, " '%c'", *stat & 0xFF); sprintf 9464 src/simh/scp.c sprintf(msgbuf, "Error %d", stat); sprintf 9543 src/simh/scp.c sprintf(tim_t, "%02d:%02d:%02d.%03ld ", sprintf 9550 src/simh/scp.c sprintf(tim_t, "%d.%03ld ", sprintf 9562 src/simh/scp.c sprintf(pc_s, "-%s:", sim_PC->name); sprintf 9565 src/simh/scp.c sprintf(debug_line_prefix, "DBG(%s%s%.0f%s)%s> %s %s: ", tim_t, tim_a, sim_gtime(), pc_s, "", dptr->name, debug_type); sprintf 10097 src/simh/scp.c sprintf (buf, "%s%u", dptr->name, (int)n); sprintf 10269 src/simh/scp.c sprintf (nbuf, ".%u", topic->kids); sprintf 10280 src/simh/scp.c sprintf (newt->label, "%s%s", topic->label, nbuf); sprintf 451 src/simh/sim_console.c sprintf(wru_name, "'%c'", sim_int_char&0xFF); sprintf 454 src/simh/sim_console.c sprintf(wru_name, "^%c", '@' + (sim_int_char&0xFF)); sprintf 456 src/simh/sim_console.c sprintf(wru_name, "'\\%03o'", sim_int_char&0xFF); sprintf 892 src/simh/sim_console.c sprintf (sim_rem_con_temp_name, "sim_remote_console_%d.temporary_log", (int)getpid()); sprintf 1550 src/simh/sim_console.c sprintf(cmdbuf, "BUFFERED%c%s", cptr ? '=' : '\0', cptr ? cptr : ""); sprintf 1560 src/simh/sim_console.c sprintf(cmdbuf, "UNBUFFERED%c%s", cptr ? '=' : '\0', cptr ? cptr : ""); sprintf 1570 src/simh/sim_console.c sprintf(cmdbuf, "LOG%c%s", cptr ? '=' : '\0', cptr ? cptr : ""); sprintf 1580 src/simh/sim_console.c sprintf(cmdbuf, "NOLOG%c%s", cptr ? '=' : '\0', cptr ? cptr : ""); sprintf 2366 src/simh/sim_console.c sprintf (mbuf2, "%s%s%s", (sim_switches & SWMASK ('A')) ? "\n" : "", sprintf 1143 src/simh/sim_disk.c sprintf (pos, "lbn: %08X ", (unsigned int)lba); sprintf 128 src/simh/sim_sock.c sprintf (err_buf, "Sockets: %s error %d - %s\n", emsg, err, sock_errors[i].text); sprintf 131 src/simh/sim_sock.c sprintf (err_buf, "Sockets: %s error %d\n", emsg, err); sprintf 133 src/simh/sim_sock.c sprintf (err_buf, "Sockets: %s error %d - %s\n", emsg, err, strerror(err)); sprintf 362 src/simh/sim_sock.c sprintf(buf, "%d", ntohs(sin->sin_port)); sprintf 1100 src/simh/sim_sock.c sprintf(portnamebuf, "%d", (int)ntohs(((struct sockaddr_in *)addr)->s_port)); sprintf 1126 src/simh/sim_sock.c sprintf(*socknamebuf, "[%s]:%s", hostbuf, portbuf); sprintf 1130 src/simh/sim_sock.c sprintf(*peernamebuf, "[%s]:%s", hostbuf, portbuf); sprintf 339 src/simh/sim_tmxr.c sprintf (cmsg, "\n\r\nConnected to the %s simulator ", sim_name); sprintf 342 src/simh/sim_tmxr.c sprintf (dmsg, "%s device", /* report device name */ sprintf 346 src/simh/sim_tmxr.c sprintf (lmsg, ", line %d", (int)(lp-mp->ldsc));/* report the line number */ sprintf 349 src/simh/sim_tmxr.c sprintf (msgbuf, "%s%s%s\r\n\n", cmsg, dmsg, lmsg); sprintf 671 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 33 + strlen (mp->port)), "%s%s", mp->port, mp->notelnet ? ";notelnet" : ""); sprintf 673 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 7 + strlen (mp->logfiletmpl)), ",Log=%s", mp->logfiletmpl); sprintf 682 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 10+strlen(lptr)), "%s%s", *tptr ? "," : "", lptr); sprintf 721 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), "Line=%d", (int)(lp-lp->mp->ldsc)); sprintf 723 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",%s", lp->modem_control ? "Modem" : "NoModem"); sprintf 725 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",Buffered=%d", lp->txbsz); sprintf 727 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",UnBuffered"); sprintf 729 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 8), ",%s", lp->datagram ? "UDP" : "TCP"); sprintf 731 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 8), ",Packet"); sprintf 733 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32 + strlen (lp->port)), ",%s%s", lp->port, ((lp->mp->notelnet != lp->notelnet) && (!lp->datagram)) ? (lp->notelnet ? ";notelnet" : ";telnet") : ""); sprintf 735 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 25 + strlen (lp->destination)), ",Connect=%s%s", lp->destination, ((lp->mp->notelnet != lp->notelnet) && (!lp->datagram)) ? (lp->notelnet ? ";notelnet" : ";telnet") : ""); sprintf 738 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 12 + strlen (lp->txlogname)), ",Log=%s", lp->txlogname); sprintf 740 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 12 ), ",Loopback"); sprintf 2033 src/simh/sim_tmxr.c sprintf (speed, "%d", nspeed); sprintf 2125 src/simh/sim_tmxr.c sprintf(buffered, "%d", mp->buffered); sprintf 2172 src/simh/sim_tmxr.c sprintf(buffered, "%d", i); sprintf 2335 src/simh/sim_tmxr.c sprintf(lp->txlogname, "%s_%d", mp->logfiletmpl, i);