osversion        5485 src/simh/scp.c         char osversion[PATH_MAX+1] = "";
osversion        5489 src/simh/scp.c             (void)memset (osversion, 0, sizeof(osversion));
osversion        5491 src/simh/scp.c                 if (NULL == fgets (osversion, sizeof(osversion)-1, f))
osversion        5493 src/simh/scp.c                 sim_trim_endspc (osversion);
osversion        5494 src/simh/scp.c                 } while (osversion[0] == '\0');
osversion        5497 src/simh/scp.c         (void)fprintf (st, "\n   Host OS: %s", osversion);
osversion        5502 src/simh/scp.c         char osversion[2*PATH_MAX+1] = "";
osversion        5514 src/simh/scp.c             (void)memset (osversion, 0, sizeof(osversion));
osversion        5516 src/simh/scp.c               if (NULL == fgets (osversion, sizeof(osversion)-1, f)) {
osversion        5519 src/simh/scp.c             sim_trim_endspc (osversion);
osversion        5520 src/simh/scp.c             } while (osversion[0] == '\0');
osversion        5522 src/simh/scp.c             strremove(osversion, "0000000000000000 ");
osversion        5523 src/simh/scp.c             strremove(osversion, " 0000000000000000");
osversion        5524 src/simh/scp.c             strremove(osversion, "000000000000 ");
osversion        5525 src/simh/scp.c             strremove(osversion, " 000000000000");
osversion        5526 src/simh/scp.c             strremove(osversion, "IBM ");
osversion        5527 src/simh/scp.c             strremove(osversion, " (emulated by qemu)");
osversion        5528 src/simh/scp.c             strremove(osversion, " (emulated by QEMU)");
osversion        5531 src/simh/scp.c             (void)fprintf (st, "\n   Host OS: %s", osversion);
osversion        5533 src/simh/scp.c             strremove(osversion, "AIX ");
osversion        5535 src/simh/scp.c             (void)fprintf (st, "\n   Host OS: IBM AIX %s", osversion);
osversion        5537 src/simh/scp.c             (void)fprintf (st, "\n   Host OS: IBM OS/400 (PASE) %s", osversion);