rbuf             3171 src/simh/scp.c char rbuf[CBUFSIZE];
rbuf             3214 src/simh/scp.c                 (void)memset (rbuf, '\0', sizeof(rbuf));
rbuf             3215 src/simh/scp.c                 ap = rbuf;
rbuf             3220 src/simh/scp.c                         if ((sizeof(rbuf)-strlen(rbuf)) < (2 + strlen(do_arg[i]))) {
rbuf             3225 src/simh/scp.c                                 (void)sprintf(&rbuf[strlen(rbuf)], "%s%c%s%c\"",
rbuf             3230 src/simh/scp.c                                 (void)sprintf(&rbuf[strlen(rbuf)], "%s%s",
rbuf             3250 src/simh/scp.c                         (void)sprintf (rbuf, "%4d-%02d-%02d",
rbuf             3254 src/simh/scp.c                         ap = rbuf;
rbuf             3257 src/simh/scp.c                         (void)sprintf (rbuf, "%02d:%02d:%02d",
rbuf             3261 src/simh/scp.c                         ap = rbuf;
rbuf             3264 src/simh/scp.c                         (void)sprintf (rbuf, "%04d-%02d-%02dT%02d:%02d:%02d",
rbuf             3271 src/simh/scp.c                         ap = rbuf;
rbuf             3275 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%x", tmnow);
rbuf             3276 src/simh/scp.c                         ap = rbuf;
rbuf             3279 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%I:%M:%S %p", tmnow);
rbuf             3280 src/simh/scp.c                         ap = rbuf;
rbuf             3283 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%c", tmnow);
rbuf             3284 src/simh/scp.c                         ap = rbuf;
rbuf             3288 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%Y", tmnow);
rbuf             3289 src/simh/scp.c                         ap = rbuf;
rbuf             3292 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%y", tmnow);
rbuf             3293 src/simh/scp.c                         ap = rbuf;
rbuf             3296 src/simh/scp.c                         (void)sprintf (rbuf, "%d", (tmnow->tm_year + 1900)/100);
rbuf             3297 src/simh/scp.c                         ap = rbuf;
rbuf             3311 src/simh/scp.c                             (void)sprintf (rbuf, "%d", cal_year);        /* 2 digit year */
rbuf             3313 src/simh/scp.c                             (void)sprintf (rbuf, "%d", cal_year + 1900); /* 4 digit year */
rbuf             3314 src/simh/scp.c                         ap = rbuf;
rbuf             3317 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%m", tmnow);
rbuf             3318 src/simh/scp.c                         ap = rbuf;
rbuf             3321 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%b", tmnow);
rbuf             3322 src/simh/scp.c                         ap = rbuf;
rbuf             3325 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%d", tmnow);
rbuf             3326 src/simh/scp.c                         ap = rbuf;
rbuf             3329 src/simh/scp.c                         (void)sprintf (rbuf, "%d", (tmnow->tm_wday ? tmnow->tm_wday : 7));
rbuf             3330 src/simh/scp.c                         ap = rbuf;
rbuf             3348 src/simh/scp.c                             (void)sprintf (rbuf, "%02d", iso_wk);
rbuf             3350 src/simh/scp.c                             (void)sprintf (rbuf, "%04d", iso_yr);
rbuf             3351 src/simh/scp.c                         ap = rbuf;
rbuf             3354 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%j", tmnow);
rbuf             3355 src/simh/scp.c                         ap = rbuf;
rbuf             3358 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%H", tmnow);
rbuf             3359 src/simh/scp.c                         ap = rbuf;
rbuf             3362 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%M", tmnow);
rbuf             3363 src/simh/scp.c                         ap = rbuf;
rbuf             3366 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%S", tmnow);
rbuf             3367 src/simh/scp.c                         ap = rbuf;
rbuf             3370 src/simh/scp.c                         (void)sprintf (rbuf, "%08X", sim_last_cmd_stat);
rbuf             3371 src/simh/scp.c                         ap = rbuf;
rbuf             3374 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_error_text (sim_last_cmd_stat));
rbuf             3375 src/simh/scp.c                         ap = rbuf;
rbuf             3378 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_do_echo ? "-V" : "");
rbuf             3379 src/simh/scp.c                         ap = rbuf;
rbuf             3382 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_do_echo ? "-V" : "");
rbuf             3383 src/simh/scp.c                         ap = rbuf;
rbuf             3386 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_localopc ? "1" : "");
rbuf             3387 src/simh/scp.c                         ap = rbuf;
rbuf             3390 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_quiet ? "-Q" : "");
rbuf             3391 src/simh/scp.c                         ap = rbuf;
rbuf             3394 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_show_message ? "" : "-Q");
rbuf             3395 src/simh/scp.c                         ap = rbuf;
rbuf             3399 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)gethostid());
rbuf             3401 src/simh/scp.c                         (void)sprintf (rbuf, "00000000");
rbuf             3403 src/simh/scp.c                         ap = rbuf;
rbuf             3407 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getuid());
rbuf             3409 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3411 src/simh/scp.c                         ap = rbuf;
rbuf             3415 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getgid());
rbuf             3417 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3419 src/simh/scp.c                         ap = rbuf;
rbuf             3423 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)geteuid());
rbuf             3425 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3427 src/simh/scp.c                         ap = rbuf;
rbuf             3431 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getegid());
rbuf             3433 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3435 src/simh/scp.c                         ap = rbuf;
rbuf             3439 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getpid());
rbuf             3441 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3443 src/simh/scp.c                         ap = rbuf;
rbuf             3447 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getppid());
rbuf             3449 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3451 src/simh/scp.c                         ap = rbuf;
rbuf             3455 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getpgid(getpid()));
rbuf             3457 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3459 src/simh/scp.c                         ap = rbuf;
rbuf             3463 src/simh/scp.c                         (void)sprintf (rbuf, "%ld", (long)getsid(getpid()));
rbuf             3465 src/simh/scp.c                         (void)sprintf (rbuf, "0");
rbuf             3467 src/simh/scp.c                         ap = rbuf;
rbuf             3471 src/simh/scp.c                         (void)sprintf (rbuf, "LITTLE");
rbuf             3473 src/simh/scp.c                         (void)sprintf (rbuf, "BIG");
rbuf             3475 src/simh/scp.c                         (void)sprintf (rbuf, "UNKNOWN");
rbuf             3477 src/simh/scp.c                         ap = rbuf;
rbuf             3480 src/simh/scp.c                         (void)sprintf (rbuf, "%s", sim_name);
rbuf             3481 src/simh/scp.c                         ap = rbuf;
rbuf             3485 src/simh/scp.c                         (void)sprintf (rbuf, "%s", VER_H_GIT_VERSION);
rbuf             3487 src/simh/scp.c                         (void)sprintf (rbuf, "UNKNOWN");
rbuf             3489 src/simh/scp.c                         ap = rbuf;
rbuf             3493 src/simh/scp.c                         (void)sprintf (rbuf, "%s", VER_H_GIT_HASH);
rbuf             3495 src/simh/scp.c                         (void)sprintf (rbuf, "0000000000000000000000000000000000000000");
rbuf             3497 src/simh/scp.c                         ap = rbuf;
rbuf             3501 src/simh/scp.c                         (void)sprintf (rbuf, "%s", VER_H_GIT_RELT);
rbuf             3503 src/simh/scp.c                         (void)sprintf (rbuf, "X");
rbuf             3505 src/simh/scp.c                         ap = rbuf;
rbuf             3509 src/simh/scp.c                         (void)sprintf (rbuf, "%s", VER_H_GIT_DATE);
rbuf             3511 src/simh/scp.c                         (void)sprintf (rbuf, "UNKNOWN");
rbuf             3513 src/simh/scp.c                         ap = rbuf;
rbuf             3517 src/simh/scp.c                         (void)sprintf(rbuf, "%u", nprocs);
rbuf             3518 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);