Lines Matching refs:ibuf
526 create_argv(char *ibuf, int *newargc, char ***thisargv)
539 for (; *ibuf != '\0'; ibuf++) {
540 if (isspace(*ibuf)) {
545 *ibuf = '\0';
569 if (*ibuf == COMMENT_CHAR || *ibuf == '\n') {
574 if (*ibuf == QUOTE_CHAR) {
577 *ibuf = '\0';
584 *current = ibuf;
655 do_getstr(FILE *infile, char *prompt, char *ibuf, size_t ibuf_size)
660 return (fgets(ibuf, ibuf_size, infile));
678 if (strlcpy(ibuf, line, ibuf_size) >= ibuf_size)
682 line = ibuf;
696 char ibuf[IBUF_SIZE], holder[IBUF_SIZE];
706 bzero(ibuf, IBUF_SIZE);
711 while ((s = do_getstr(infile, promptstring, ibuf, IBUF_SIZE)) != NULL) {
721 if (ibuf[IBUF_SIZE - 2] != '\0') {
724 bzero(ibuf, IBUF_SIZE);
735 if (ibuf[strlen(ibuf) - 2] == CONT_CHAR) {
740 (void) strcpy(holder, ibuf);
747 bzero(ibuf, IBUF_SIZE);
752 (void) strncpy(hptr, ibuf,
761 bzero(ibuf, IBUF_SIZE);
773 (void) strcpy(ibuf, holder);
797 lineno, ibuf);
801 switch (create_argv(ibuf, &thisargc, &thisargv)) {
829 bzero(ibuf, IBUF_SIZE);