rbuf             3173 src/simh/scp.c char rbuf[CBUFSIZE];
rbuf             3216 src/simh/scp.c                 (void)memset (rbuf, '\0', sizeof(rbuf));
rbuf             3217 src/simh/scp.c                 ap = rbuf;
rbuf             3222 src/simh/scp.c                         if ((sizeof(rbuf)-strlen(rbuf)) < (2 + strlen(do_arg[i]))) {
rbuf             3227 src/simh/scp.c                                 (void)sprintf(&rbuf[strlen(rbuf)], "%s%c%s%c\"",
rbuf             3232 src/simh/scp.c                                 (void)sprintf(&rbuf[strlen(rbuf)], "%s%s",
rbuf             3252 src/simh/scp.c                         (void)sprintf (rbuf, "%4d-%02d-%02d",
rbuf             3256 src/simh/scp.c                         ap = rbuf;
rbuf             3259 src/simh/scp.c                         (void)sprintf (rbuf, "%02d:%02d:%02d",
rbuf             3263 src/simh/scp.c                         ap = rbuf;
rbuf             3266 src/simh/scp.c                         (void)sprintf (rbuf, "%04d-%02d-%02dT%02d:%02d:%02d",
rbuf             3273 src/simh/scp.c                         ap = rbuf;
rbuf             3277 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%x", tmnow);
rbuf             3278 src/simh/scp.c                         ap = rbuf;
rbuf             3281 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%I:%M:%S %p", tmnow);
rbuf             3282 src/simh/scp.c                         ap = rbuf;
rbuf             3285 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%c", tmnow);
rbuf             3286 src/simh/scp.c                         ap = rbuf;
rbuf             3290 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%Y", tmnow);
rbuf             3291 src/simh/scp.c                         ap = rbuf;
rbuf             3294 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%y", tmnow);
rbuf             3295 src/simh/scp.c                         ap = rbuf;
rbuf             3298 src/simh/scp.c                         (void)sprintf (rbuf, "%d", (tmnow->tm_year + 1900)/100);
rbuf             3299 src/simh/scp.c                         ap = rbuf;
rbuf             3313 src/simh/scp.c                             (void)sprintf (rbuf, "%d", cal_year);        /* 2 digit year */
rbuf             3315 src/simh/scp.c                             (void)sprintf (rbuf, "%d", cal_year + 1900); /* 4 digit year */
rbuf             3316 src/simh/scp.c                         ap = rbuf;
rbuf             3319 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%m", tmnow);
rbuf             3320 src/simh/scp.c                         ap = rbuf;
rbuf             3323 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%b", tmnow);
rbuf             3324 src/simh/scp.c                         ap = rbuf;
rbuf             3327 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%d", tmnow);
rbuf             3328 src/simh/scp.c                         ap = rbuf;
rbuf             3331 src/simh/scp.c                         (void)sprintf (rbuf, "%d", (tmnow->tm_wday ? tmnow->tm_wday : 7));
rbuf             3332 src/simh/scp.c                         ap = rbuf;
rbuf             3350 src/simh/scp.c                             (void)sprintf (rbuf, "%02d", iso_wk);
rbuf             3352 src/simh/scp.c                             (void)sprintf (rbuf, "%04d", iso_yr);
rbuf             3353 src/simh/scp.c                         ap = rbuf;
rbuf             3356 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%j", tmnow);
rbuf             3357 src/simh/scp.c                         ap = rbuf;
rbuf             3360 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%H", tmnow);
rbuf             3361 src/simh/scp.c                         ap = rbuf;
rbuf             3364 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%M", tmnow);
rbuf             3365 src/simh/scp.c                         ap = rbuf;
rbuf             3368 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%S", tmnow);
rbuf             3369 src/simh/scp.c                         ap = rbuf;
rbuf             3372 src/simh/scp.c                         (void)sprintf (rbuf, "%08X", sim_last_cmd_stat);
rbuf             3373 src/simh/scp.c                         ap = rbuf;
rbuf             3376 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_error_text (sim_last_cmd_stat));
rbuf             3377 src/simh/scp.c                         ap = rbuf;
rbuf             3380 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_do_echo ? "-V" : "");
rbuf             3381 src/simh/scp.c                         ap = rbuf;
rbuf             3384 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_do_echo ? "-V" : "");
rbuf             3385 src/simh/scp.c                         ap = rbuf;
rbuf             3388 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_localopc ? "1" : "");
rbuf             3389 src/simh/scp.c                         ap = rbuf;
rbuf             3392 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_quiet ? "-Q" : "");
rbuf             3393 src/simh/scp.c                         ap = rbuf;
rbuf             3396 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_show_message ? "" : "-Q");
rbuf             3397 src/simh/scp.c                         ap = rbuf;
rbuf             3401 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)gethostid());
rbuf             3403 src/simh/scp.c                         (void)sprintf (rbuf, "00000000");
rbuf             3405 src/simh/scp.c                         ap = rbuf;
rbuf             3409 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getuid());
rbuf             3411 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3413 src/simh/scp.c                         ap = rbuf;
rbuf             3417 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getgid());
rbuf             3419 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3421 src/simh/scp.c                         ap = rbuf;
rbuf             3425 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)geteuid());
rbuf             3427 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3429 src/simh/scp.c                         ap = rbuf;
rbuf             3433 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getegid());
rbuf             3435 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3437 src/simh/scp.c                         ap = rbuf;
rbuf             3441 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getpid());
rbuf             3443 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3445 src/simh/scp.c                         ap = rbuf;
rbuf             3449 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getppid());
rbuf             3451 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3453 src/simh/scp.c                         ap = rbuf;
rbuf             3457 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getpgid(getpid()));
rbuf             3459 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3461 src/simh/scp.c                         ap = rbuf;
rbuf             3465 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getsid(getpid()));
rbuf             3467 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3469 src/simh/scp.c                         ap = rbuf;
rbuf             3473 src/simh/scp.c                         (void)sprintf (rbuf, "LITTLE");
rbuf             3475 src/simh/scp.c                         (void)sprintf (rbuf, "BIG");
rbuf             3477 src/simh/scp.c                         (void)sprintf (rbuf, "UNKNOWN");
rbuf             3479 src/simh/scp.c                         ap = rbuf;
rbuf             3482 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_name);
rbuf             3483 src/simh/scp.c                         ap = rbuf;
rbuf             3487 src/simh/scp.c                         (void)sprintf (rbuf, "%s", VER_H_GIT_VERSION);
rbuf             3489 src/simh/scp.c                         (void)sprintf (rbuf, "UNKNOWN");
rbuf             3491 src/simh/scp.c                         ap = rbuf;
rbuf             3495 src/simh/scp.c                         (void)sprintf (rbuf, "%s", VER_H_GIT_HASH);
rbuf             3497 src/simh/scp.c                         (void)sprintf (rbuf, "0000000000000000000000000000000000000000");
rbuf             3499 src/simh/scp.c                         ap = rbuf;
rbuf             3503 src/simh/scp.c                         (void)sprintf (rbuf, "%s", VER_H_GIT_RELT);
rbuf             3505 src/simh/scp.c                         (void)sprintf (rbuf, "X");
rbuf             3507 src/simh/scp.c                         ap = rbuf;
rbuf             3511 src/simh/scp.c                         (void)sprintf (rbuf, "%s", VER_H_GIT_DATE);
rbuf             3513 src/simh/scp.c                         (void)sprintf (rbuf, "UNKNOWN");
rbuf             3515 src/simh/scp.c                         ap = rbuf;
rbuf             3519 src/simh/scp.c                         (void)sprintf(rbuf, "%u", nprocs);
rbuf             3520 src/simh/scp.c                         ap = rbuf;
rbuf             2428 src/simh/sim_console.c     uint8 *rbuf;
rbuf             2433 src/simh/sim_console.c     rbuf = (uint8 *)malloc (1 + strlen(cptr));
rbuf             2434 src/simh/sim_console.c     if (!rbuf)
rbuf             2447 src/simh/sim_console.c     decode ((char *)rbuf, cptr);                        /* decod string */
rbuf             2448 src/simh/sim_console.c     sim_send_input (&sim_con_send, rbuf, strlen((char *)rbuf), 0, 0); /* queue it for output */
rbuf             2449 src/simh/sim_console.c     FREE (rbuf);