rbuf 3106 src/simh/scp.c char rbuf[CBUFSIZE]; rbuf 3149 src/simh/scp.c (void)memset (rbuf, '\0', sizeof(rbuf)); rbuf 3150 src/simh/scp.c ap = rbuf; rbuf 3155 src/simh/scp.c if ((sizeof(rbuf)-strlen(rbuf)) < (2 + strlen(do_arg[i]))) { rbuf 3160 src/simh/scp.c (void)sprintf(&rbuf[strlen(rbuf)], "%s%c%s%c\"", rbuf 3165 src/simh/scp.c (void)sprintf(&rbuf[strlen(rbuf)], "%s%s", rbuf 3185 src/simh/scp.c (void)sprintf (rbuf, "%4d-%02d-%02d", rbuf 3189 src/simh/scp.c ap = rbuf; rbuf 3192 src/simh/scp.c (void)sprintf (rbuf, "%02d:%02d:%02d", rbuf 3196 src/simh/scp.c ap = rbuf; rbuf 3199 src/simh/scp.c (void)sprintf (rbuf, "%04d-%02d-%02dT%02d:%02d:%02d", rbuf 3206 src/simh/scp.c ap = rbuf; rbuf 3210 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%x", tmnow); rbuf 3211 src/simh/scp.c ap = rbuf; rbuf 3214 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%I:%M:%S %p", tmnow); rbuf 3215 src/simh/scp.c ap = rbuf; rbuf 3218 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%c", tmnow); rbuf 3219 src/simh/scp.c ap = rbuf; rbuf 3223 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%Y", tmnow); rbuf 3224 src/simh/scp.c ap = rbuf; rbuf 3227 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%y", tmnow); rbuf 3228 src/simh/scp.c ap = rbuf; rbuf 3231 src/simh/scp.c (void)sprintf (rbuf, "%d", (tmnow->tm_year + 1900)/100); rbuf 3232 src/simh/scp.c ap = rbuf; rbuf 3246 src/simh/scp.c (void)sprintf (rbuf, "%d", cal_year); /* 2 digit year */ rbuf 3248 src/simh/scp.c (void)sprintf (rbuf, "%d", cal_year + 1900); /* 4 digit year */ rbuf 3249 src/simh/scp.c ap = rbuf; rbuf 3252 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%m", tmnow); rbuf 3253 src/simh/scp.c ap = rbuf; rbuf 3256 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%b", tmnow); rbuf 3257 src/simh/scp.c ap = rbuf; rbuf 3260 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%d", tmnow); rbuf 3261 src/simh/scp.c ap = rbuf; rbuf 3264 src/simh/scp.c (void)sprintf (rbuf, "%d", (tmnow->tm_wday ? tmnow->tm_wday : 7)); rbuf 3265 src/simh/scp.c ap = rbuf; rbuf 3283 src/simh/scp.c (void)sprintf (rbuf, "%02d", iso_wk); rbuf 3285 src/simh/scp.c (void)sprintf (rbuf, "%04d", iso_yr); rbuf 3286 src/simh/scp.c ap = rbuf; rbuf 3289 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%j", tmnow); rbuf 3290 src/simh/scp.c ap = rbuf; rbuf 3293 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%H", tmnow); rbuf 3294 src/simh/scp.c ap = rbuf; rbuf 3297 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%M", tmnow); rbuf 3298 src/simh/scp.c ap = rbuf; rbuf 3301 src/simh/scp.c strftime (rbuf, sizeof(rbuf), "%S", tmnow); rbuf 3302 src/simh/scp.c ap = rbuf; rbuf 3305 src/simh/scp.c (void)sprintf (rbuf, "%08X", sim_last_cmd_stat); rbuf 3306 src/simh/scp.c ap = rbuf; rbuf 3309 src/simh/scp.c (void)sprintf (rbuf, "%s", sim_error_text (sim_last_cmd_stat)); rbuf 3310 src/simh/scp.c ap = rbuf; rbuf 3313 src/simh/scp.c (void)sprintf (rbuf, "%s", sim_do_echo ? "-V" : ""); rbuf 3314 src/simh/scp.c ap = rbuf; rbuf 3317 src/simh/scp.c (void)sprintf (rbuf, "%s", sim_do_echo ? "-V" : ""); rbuf 3318 src/simh/scp.c ap = rbuf; rbuf 3321 src/simh/scp.c (void)sprintf (rbuf, "%s", sim_localopc ? "1" : ""); rbuf 3322 src/simh/scp.c ap = rbuf; rbuf 3325 src/simh/scp.c (void)sprintf (rbuf, "%s", sim_quiet ? "-Q" : ""); rbuf 3326 src/simh/scp.c ap = rbuf; rbuf 3329 src/simh/scp.c (void)sprintf (rbuf, "%s", sim_show_message ? "" : "-Q"); rbuf 3330 src/simh/scp.c ap = rbuf; rbuf 3334 src/simh/scp.c (void)sprintf (rbuf, "%ld", (long)gethostid()); rbuf 3336 src/simh/scp.c (void)sprintf (rbuf, "00000000"); rbuf 3338 src/simh/scp.c ap = rbuf; rbuf 3342 src/simh/scp.c (void)sprintf (rbuf, "%ld", (long)getuid()); rbuf 3344 src/simh/scp.c (void)sprintf (rbuf, "0"); rbuf 3346 src/simh/scp.c ap = rbuf; rbuf 3350 src/simh/scp.c (void)sprintf (rbuf, "%ld", (long)getgid()); rbuf 3352 src/simh/scp.c (void)sprintf (rbuf, "0"); rbuf 3354 src/simh/scp.c ap = rbuf; rbuf 3358 src/simh/scp.c (void)sprintf (rbuf, "%ld", (long)geteuid()); rbuf 3360 src/simh/scp.c (void)sprintf (rbuf, "0"); rbuf 3362 src/simh/scp.c ap = rbuf; rbuf 3366 src/simh/scp.c (void)sprintf (rbuf, "%ld", (long)getegid()); rbuf 3368 src/simh/scp.c (void)sprintf (rbuf, "0"); rbuf 3370 src/simh/scp.c ap = rbuf; rbuf 3374 src/simh/scp.c (void)sprintf (rbuf, "%ld", (long)getpid()); rbuf 3376 src/simh/scp.c (void)sprintf (rbuf, "0"); rbuf 3378 src/simh/scp.c ap = rbuf; rbuf 3382 src/simh/scp.c (void)sprintf (rbuf, "%ld", (long)getppid()); rbuf 3384 src/simh/scp.c (void)sprintf (rbuf, "0"); rbuf 3386 src/simh/scp.c ap = rbuf; rbuf 3390 src/simh/scp.c (void)sprintf (rbuf, "%ld", (long)getpgid(getpid())); rbuf 3392 src/simh/scp.c (void)sprintf (rbuf, "0"); rbuf 3394 src/simh/scp.c ap = rbuf; rbuf 3398 src/simh/scp.c (void)sprintf (rbuf, "%ld", (long)getsid(getpid())); rbuf 3400 src/simh/scp.c (void)sprintf (rbuf, "0"); rbuf 3402 src/simh/scp.c ap = rbuf; rbuf 3406 src/simh/scp.c (void)sprintf (rbuf, "LITTLE"); rbuf 3408 src/simh/scp.c (void)sprintf (rbuf, "BIG"); rbuf 3410 src/simh/scp.c (void)sprintf (rbuf, "UNKNOWN"); rbuf 3412 src/simh/scp.c ap = rbuf; rbuf 3415 src/simh/scp.c (void)sprintf (rbuf, "%s", sim_name); rbuf 3416 src/simh/scp.c ap = rbuf; rbuf 3420 src/simh/scp.c (void)sprintf (rbuf, "%s", VER_H_GIT_VERSION); rbuf 3422 src/simh/scp.c (void)sprintf (rbuf, "UNKNOWN"); rbuf 3424 src/simh/scp.c ap = rbuf; rbuf 3428 src/simh/scp.c (void)sprintf (rbuf, "%s", VER_H_GIT_HASH); rbuf 3430 src/simh/scp.c (void)sprintf (rbuf, "0000000000000000000000000000000000000000"); rbuf 3432 src/simh/scp.c ap = rbuf; rbuf 3436 src/simh/scp.c (void)sprintf (rbuf, "%s", VER_H_GIT_RELT); rbuf 3438 src/simh/scp.c (void)sprintf (rbuf, "X"); rbuf 3440 src/simh/scp.c ap = rbuf; rbuf 3444 src/simh/scp.c (void)sprintf (rbuf, "%s", VER_H_GIT_DATE); rbuf 3446 src/simh/scp.c (void)sprintf (rbuf, "UNKNOWN"); rbuf 3448 src/simh/scp.c ap = rbuf; rbuf 3453 src/simh/scp.c (void)sprintf(rbuf, "%ld", (long)get_nprocs()); rbuf 3457 src/simh/scp.c (void)sprintf (rbuf, "%llu", rbuf 3460 src/simh/scp.c (void)sprintf(rbuf, "1"); rbuf 3462 src/simh/scp.c ap = rbuf; rbuf 2427 src/simh/sim_console.c uint8 *rbuf; rbuf 2432 src/simh/sim_console.c rbuf = (uint8 *)malloc (1 + strlen(cptr)); rbuf 2433 src/simh/sim_console.c if (!rbuf) rbuf 2446 src/simh/sim_console.c decode ((char *)rbuf, cptr); /* decod string */ rbuf 2447 src/simh/sim_console.c sim_send_input (&sim_con_send, rbuf, strlen((char *)rbuf), 0, 0); /* queue it for output */ rbuf 2448 src/simh/sim_console.c FREE (rbuf);