sprintf 532 src/dps8/dps8_append.c sprintf (buf, "*** SDW Uninitialized ***"); sprintf 534 src/dps8/dps8_append.c sprintf (buf, sprintf 956 src/dps8/dps8_console.c sprintf (buf, "^T attn %c %c cnt %d next %d\r\n", sprintf 1019 src/dps8/dps8_console.c sprintf (buf, "\r%s returned %d '%s'\r\n", sprintf 1234 src/dps8/dps8_cpu.c sprintf (buf, "ADDR=%06o R1=%o R2=%o R3=%o F=%o FC=%o BOUND=%o R=%o " sprintf 4673 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 516 src/dps8/dps8_crdrdr.c sprintf ((char *) cardImage, "++UID %d", jobNo); sprintf 622 src/dps8/dps8_crdrdr.c sprintf ((char *) cardImage, "++UID %d", jobNo); sprintf 639 src/dps8/dps8_crdrdr.c sprintf 650 src/dps8/dps8_crdrdr.c 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 1090 src/dps8/dps8_mgp.c cp += sprintf(cp, "'%c' ", sprintf 1095 src/dps8/dps8_mgp.c cp += sprintf(cp, "'^%c' ", sprintf 1101 src/dps8/dps8_mgp.c cp += sprintf(cp, "'%c' ", sprintf 1106 src/dps8/dps8_mgp.c cp += sprintf(cp, "'^%c' ", sprintf 1112 src/dps8/dps8_mgp.c cp += sprintf(cp, "'%c' ", sprintf 1117 src/dps8/dps8_mgp.c cp += sprintf(cp, "'^%c' ", sprintf 1123 src/dps8/dps8_mgp.c cp += sprintf(cp, "'%c'", sprintf 1128 src/dps8/dps8_mgp.c cp += sprintf(cp, "'^%c'", sprintf 1277 src/dps8/dps8_mgp.c sprintf((char *)&pkt[CBRIDGE_PACKET_HEADER_SIZE], sprintf 1302 src/dps8/dps8_mgp.c sprintf(server.sun_path, "%s", CBRIDGE_PACKET_SOCKET); sprintf 1898 src/dps8/dps8_mgp.c sprintf(connect, "CHAOS %s %s%s%s", 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 2420 src/dps8/dps8_sys.c sprintf (buf, "%s:%s+0%0o", book_segments[i].segname, sprintf 2445 src/dps8/dps8_sys.c sprintf (buf, "%s:%s+0%0o", book_segments[i].segname, sprintf 2458 src/dps8/dps8_sys.c sprintf (buf, "%s:+0%0o", book_segments[i].segname, sprintf 2504 src/dps8/dps8_sys.c sprintf 2515 src/dps8/dps8_sys.c sprintf 2568 src/dps8/dps8_sys.c sprintf (offset_str, " %06o", offset); sprintf 3416 src/dps8/dps8_sys.c sprintf (reformatted, "0%04o%06o%s", segno, offset, buf + where); sprintf 4555 src/dps8/dps8_sys.c sprintf(statenme, "%s.state", rssuffix); sprintf 4557 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 516 src/dps8/threadz.c sprintf (nm, "CPU %c", 'a' + cpuNum); sprintf 731 src/dps8/threadz.c sprintf (nm, "IOM %c", 'a' + iomNum); sprintf 898 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 1308 src/simh/scp.c sprintf(envstr, "%s=%s", envname, envval); sprintf 1769 src/simh/scp.c sprintf(&cbuf[strlen(cbuf)], "%s%s%s", strchr(argv[i], ' ') ? "\"" : "", argv[i], strchr(argv[i], ' ') ? "\"" : ""); //-V755 sprintf 1987 src/simh/scp.c sprintf (sim_prompt, "%s ", gbuf); sprintf 2121 src/simh/scp.c sprintf (rangebuf, "[%d:%d]", 0, rptr->depth-1); sprintf 2154 src/simh/scp.c sprintf (namebuf, "%*s", -((int)max_namelen), rptr->name); sprintf 2156 src/simh/scp.c sprintf (rangebuf, "[%d:%d]", 0, rptr->depth-1); sprintf 2157 src/simh/scp.c sprintf (namebuf, "%s%*s", rptr->name, (int)(strlen(rptr->name))-((int)max_namelen), rangebuf); sprintf 2211 src/simh/scp.c sprintf (header, "\n%s device SET commands:\n\n", dptr->name); sprintf 2223 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 2233 src/simh/scp.c sprintf (buf, "SET %s ENABLE", sim_dname (dptr)); sprintf 2235 src/simh/scp.c sprintf (buf, "SET %s DISABLE", sim_dname (dptr)); sprintf 2240 src/simh/scp.c sprintf (buf, "SET %s DEBUG", sim_dname (dptr)); sprintf 2242 src/simh/scp.c sprintf (buf, "SET %s NODEBUG", sim_dname (dptr)); sprintf 2269 src/simh/scp.c sprintf (buf, "SET %sn ENABLE", sim_dname (dptr)); sprintf 2271 src/simh/scp.c sprintf (buf, "SET %sn DISABLE", sim_dname (dptr)); sprintf 2281 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 2303 src/simh/scp.c sprintf (header, "\n%s device SHOW commands:\n\n", dptr->name); sprintf 2316 src/simh/scp.c sprintf (buf, "SHOW %s %s%s", sim_dname (dptr), mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "{=arg}" : ""); sprintf 2322 src/simh/scp.c sprintf (buf, "SHOW %s DEBUG", sim_dname (dptr)); sprintf 2332 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 2959 src/simh/scp.c sprintf(&rbuf[strlen(rbuf)], "%s%c%s%c\"", (i != 1) ? " " : "", quote, do_arg[i], quote); sprintf 2962 src/simh/scp.c sprintf(&rbuf[strlen(rbuf)], "%s%s", (i != 1) ? " " : "", do_arg[i]); sprintf 2981 src/simh/scp.c sprintf (rbuf, "%4d-%02d-%02d", tmnow->tm_year+1900, tmnow->tm_mon+1, tmnow->tm_mday); sprintf 2985 src/simh/scp.c sprintf (rbuf, "%02d:%02d:%02d", tmnow->tm_hour, tmnow->tm_min, tmnow->tm_sec); sprintf 2989 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 3015 src/simh/scp.c sprintf (rbuf, "%d", (tmnow->tm_year + 1900)/100); sprintf 3030 src/simh/scp.c sprintf (rbuf, "%d", cal_year); /* 2 digit year */ sprintf 3032 src/simh/scp.c sprintf (rbuf, "%d", cal_year + 1900); /* 4 digit year */ sprintf 3048 src/simh/scp.c sprintf (rbuf, "%d", (tmnow->tm_wday ? tmnow->tm_wday : 7)); sprintf 3067 src/simh/scp.c sprintf (rbuf, "%02d", iso_wk); sprintf 3069 src/simh/scp.c sprintf (rbuf, "%04d", iso_yr); sprintf 3089 src/simh/scp.c sprintf (rbuf, "%08X", sim_last_cmd_stat); sprintf 3093 src/simh/scp.c sprintf (rbuf, "%s", sim_error_text (sim_last_cmd_stat)); sprintf 3097 src/simh/scp.c sprintf (rbuf, "%s", sim_do_echo ? "-V" : ""); sprintf 3101 src/simh/scp.c sprintf (rbuf, "%s", sim_do_echo ? "-V" : ""); sprintf 3105 src/simh/scp.c sprintf (rbuf, "%s", sim_localopc ? "1" : ""); sprintf 3109 src/simh/scp.c sprintf (rbuf, "%s", sim_quiet ? "-Q" : ""); sprintf 3113 src/simh/scp.c sprintf (rbuf, "%s", sim_show_message ? "" : "-Q"); sprintf 3118 src/simh/scp.c sprintf (rbuf, "%ld", (long)gethostid()); sprintf 3120 src/simh/scp.c sprintf (rbuf, "00000000"); sprintf 3126 src/simh/scp.c sprintf (rbuf, "%ld", (long)getuid()); sprintf 3128 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3134 src/simh/scp.c sprintf (rbuf, "%ld", (long)getgid()); sprintf 3136 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3142 src/simh/scp.c sprintf (rbuf, "%ld", (long)geteuid()); sprintf 3144 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3150 src/simh/scp.c sprintf (rbuf, "%ld", (long)getegid()); sprintf 3152 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3158 src/simh/scp.c sprintf (rbuf, "%ld", (long)getpid()); sprintf 3160 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3166 src/simh/scp.c sprintf (rbuf, "%ld", (long)getppid()); sprintf 3168 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3174 src/simh/scp.c sprintf (rbuf, "%ld", (long)getpgid(getpid())); sprintf 3176 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3182 src/simh/scp.c sprintf (rbuf, "%ld", (long)getsid(getpid())); sprintf 3184 src/simh/scp.c sprintf (rbuf, "0"); sprintf 3190 src/simh/scp.c sprintf (rbuf, "LITTLE"); sprintf 3192 src/simh/scp.c sprintf (rbuf, "BIG"); sprintf 3194 src/simh/scp.c sprintf (rbuf, "UNKNOWN"); sprintf 3199 src/simh/scp.c sprintf (rbuf, "%s", sim_name); sprintf 3204 src/simh/scp.c sprintf (rbuf, "%s", VER_H_GIT_VERSION); sprintf 3206 src/simh/scp.c sprintf (rbuf, "UNKNOWN"); sprintf 3212 src/simh/scp.c sprintf (rbuf, "%s", VER_H_GIT_HASH); sprintf 3214 src/simh/scp.c sprintf (rbuf, "0000000000000000000000000000000000000000"); sprintf 3220 src/simh/scp.c sprintf (rbuf, "%s", VER_H_GIT_RELT); sprintf 3222 src/simh/scp.c sprintf (rbuf, "X"); sprintf 3228 src/simh/scp.c sprintf (rbuf, "%s", VER_H_GIT_DATE); sprintf 3230 src/simh/scp.c sprintf (rbuf, "UNKNOWN"); sprintf 3237 src/simh/scp.c sprintf(rbuf, "%ld", (long)get_nprocs()); sprintf 3241 src/simh/scp.c sprintf (rbuf, "%llu", sprintf 3244 src/simh/scp.c sprintf(rbuf, "1"); sprintf 4295 src/simh/scp.c sprintf (&capac_buf[strlen (capac_buf)], "%s%s", scale, width); sprintf 4366 src/simh/scp.c sprintf(&sx[l], isprint (byte) ? "%c" : " ", byte); sprintf 4816 src/simh/scp.c sprintf(build_os_version_raw, "%.254s", BUILD_PROM_OSV_TEXT); sprintf 4817 src/simh/scp.c sprintf(build_os_arch_raw, "%.254s", BUILD_PROM_OSA_TEXT); sprintf 4865 src/simh/scp.c sprintf(gnumver, "%.1s", __VERSION__); sprintf 4866 src/simh/scp.c sprintf(postver, "%.1023s", __VERSION__); sprintf 4897 src/simh/scp.c sprintf(clangllvmver, "%.1023s", __clang_version__); sprintf 5874 src/simh/scp.c sprintf (uname, "%s%d", sim_dname (d), (int)(uptr-d->units)); sprintf 7405 src/simh/scp.c sprintf (tptr, "\\%03o", *iptr); sprintf 8199 src/simh/scp.c sprintf (buffer, "%*s", -((int)width), dbuf); sprintf 8275 src/simh/scp.c sprintf (frac, ".%03.0f%03.0f", msecs, usecs); sprintf 8282 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 8285 src/simh/scp.c sprintf (buf, "%s%.0f:%02.0f:%02.0f%s hour", sign, hours, mins, secs, frac); sprintf 8288 src/simh/scp.c sprintf (buf, "%s%.0f:%02.0f%s minute", sign, mins, secs, frac); sprintf 8291 src/simh/scp.c sprintf (buf, "%s%.0f%s second", sign, secs, frac); sprintf 8295 src/simh/scp.c sprintf (buf, "%s%.0f.%s msec", sign, msecs, frac+4); sprintf 8297 src/simh/scp.c sprintf (buf, "%s%.0f msec", sign, msecs); sprintf 8300 src/simh/scp.c sprintf (buf, "%s%.0f usec", sign, usecs); sprintf 9115 src/simh/scp.c sprintf (msg, "%s: %s", brk->desc, addr); sprintf 9122 src/simh/scp.c sprintf (msg, "%s Breakpoint at: %s\n", put_switches (buf, sizeof(buf), sim_brk_match_type), addr); sprintf 9658 src/simh/scp.c sprintf (dstr, " '%c'", *stat & 0xFF); sprintf 9677 src/simh/scp.c sprintf(msgbuf, "Error %d", stat); sprintf 9777 src/simh/scp.c sprintf(tim_t, "%02d:%02d:%02d.%03ld ", sprintf 9784 src/simh/scp.c sprintf(tim_t, "%d.%03ld ", sprintf 9796 src/simh/scp.c sprintf(pc_s, "-%s:", sim_PC->name); sprintf 9799 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 10331 src/simh/scp.c sprintf (buf, "%s%u", dptr->name, (int)n); sprintf 10503 src/simh/scp.c sprintf (nbuf, ".%u", topic->kids); sprintf 10514 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 1571 src/simh/sim_console.c sprintf(cmdbuf, "BUFFERED%c%s", cptr ? '=' : '\0', cptr ? cptr : ""); sprintf 1581 src/simh/sim_console.c sprintf(cmdbuf, "UNBUFFERED%c%s", cptr ? '=' : '\0', cptr ? cptr : ""); sprintf 1591 src/simh/sim_console.c sprintf(cmdbuf, "LOG%c%s", cptr ? '=' : '\0', cptr ? cptr : ""); sprintf 1601 src/simh/sim_console.c sprintf(cmdbuf, "NOLOG%c%s", cptr ? '=' : '\0', cptr ? cptr : ""); sprintf 2392 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 129 src/simh/sim_sock.c sprintf (err_buf, "Sockets: %s error %d - %s\n", emsg, err, sock_errors[i].text); sprintf 132 src/simh/sim_sock.c sprintf (err_buf, "Sockets: %s error %d\n", emsg, err); sprintf 134 src/simh/sim_sock.c sprintf (err_buf, "Sockets: %s error %d - %s\n", emsg, err, strerror(err)); sprintf 363 src/simh/sim_sock.c sprintf(buf, "%d", ntohs(sin->sin_port)); sprintf 1101 src/simh/sim_sock.c sprintf(portnamebuf, "%d", (int)ntohs(((struct sockaddr_in *)addr)->s_port)); sprintf 1127 src/simh/sim_sock.c sprintf(*socknamebuf, "[%s]:%s", hostbuf, portbuf); sprintf 1131 src/simh/sim_sock.c sprintf(*peernamebuf, "[%s]:%s", hostbuf, portbuf); sprintf 356 src/simh/sim_tmxr.c sprintf (cmsg, "\n\r\nConnected to the %s simulator ", sim_name); sprintf 359 src/simh/sim_tmxr.c sprintf (dmsg, "%s device", /* report device name */ sprintf 363 src/simh/sim_tmxr.c sprintf (lmsg, ", line %d", (int)(lp-mp->ldsc));/* report the line number */ sprintf 366 src/simh/sim_tmxr.c sprintf (msgbuf, "%s%s%s\r\n\n", cmsg, dmsg, lmsg); sprintf 688 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 33 + strlen (mp->port)), "%s%s", mp->port, mp->notelnet ? ";notelnet" : ""); sprintf 690 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 7 + strlen (mp->logfiletmpl)), ",Log=%s", mp->logfiletmpl); sprintf 699 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 10+strlen(lptr)), "%s%s", *tptr ? "," : "", lptr); sprintf 738 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), "Line=%d", (int)(lp-lp->mp->ldsc)); sprintf 740 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",%s", lp->modem_control ? "Modem" : "NoModem"); sprintf 742 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",Buffered=%d", lp->txbsz); sprintf 744 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",UnBuffered"); sprintf 746 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 8), ",%s", lp->datagram ? "UDP" : "TCP"); sprintf 748 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 8), ",Packet"); sprintf 750 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 752 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 755 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 12 + strlen (lp->txlogname)), ",Log=%s", lp->txlogname); sprintf 757 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 12 ), ",Loopback"); sprintf 2127 src/simh/sim_tmxr.c sprintf (speed, "%d", nspeed); sprintf 2219 src/simh/sim_tmxr.c sprintf(buffered, "%d", mp->buffered); sprintf 2266 src/simh/sim_tmxr.c sprintf(buffered, "%d", i); sprintf 2429 src/simh/sim_tmxr.c sprintf(lp->txlogname, "%s_%d", mp->logfiletmpl, i);