do_arg 2646 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], abuf[4*CBUFSIZE], quote, *c, *do_arg[11]; do_arg 2670 src/simh/scp.c do_arg[10] = NULL; /* make sure the argument list always ends with a NULL */ do_arg 2675 src/simh/scp.c do_arg [nargs++] = NULL; /* null argument */ do_arg 2680 src/simh/scp.c do_arg[nargs++] = c; /* save start */ do_arg 2688 src/simh/scp.c if (do_arg [0] == NULL) /* need at least 1 */ do_arg 2690 src/simh/scp.c if ((fpin = fopen (do_arg[0], "r")) == NULL) { /* file failed to open? */ do_arg 2691 src/simh/scp.c strcat (strcpy (cbuf, do_arg[0]), ".ini"); /* try again with .ini extension */ do_arg 2694 src/simh/scp.c fprintf (stderr, "Can't open file %s\n", do_arg[0]); do_arg 2722 src/simh/scp.c strcpy( sim_do_filename[sim_do_depth], do_arg[0]); /* stash away do file name for possible use by 'call' command */ do_arg 2745 src/simh/scp.c sim_sub_args (cbuf, sizeof(cbuf), do_arg); /* substitute args */ do_arg 2899 src/simh/scp.c void sim_sub_args (char *instr, size_t instr_size, char *do_arg[]) do_arg 2938 src/simh/scp.c ap = do_arg[ip[1] - '0']; do_arg 2940 src/simh/scp.c if (do_arg[i] == NULL) { do_arg 2950 src/simh/scp.c if (do_arg[i] == NULL) do_arg 2953 src/simh/scp.c if ((sizeof(rbuf)-strlen(rbuf)) < (2 + strlen(do_arg[i]))) { do_arg 2954 src/simh/scp.c if (strchr(do_arg[i], ' ')) { /* need to surround this argument with quotes */ do_arg 2956 src/simh/scp.c if (strchr(do_arg[i], quote)) do_arg 2958 src/simh/scp.c sprintf(&rbuf[strlen(rbuf)], "%s%c%s%c\"", (i != 1) ? " " : "", quote, do_arg[i], quote); do_arg 2961 src/simh/scp.c sprintf(&rbuf[strlen(rbuf)], "%s%s", (i != 1) ? " " : "", do_arg[i]); do_arg 169 src/simh/scp.h void sim_sub_args (char *in_str, size_t in_str_size, char *do_arg[]);