Lines Matching refs:sptr
853 char *sptr, *p; in ttyin() local
864 sptr = cmdbuf; in ttyin()
878 if (sptr > cmdbuf) { in ttyin()
882 while (p < sptr) { in ttyin()
897 sptr = oldp; in ttyin()
899 (void) set_state(&state, ch, sptr); in ttyin()
918 sptr--; in ttyin()
921 if (sptr >= cmdbuf + sizeof (cmdbuf) || in ttyin()
929 if (set_state(&state, ch, sptr) == 0) { in ttyin()
933 (void) strncpy(sptr, multic, (size_t)length); in ttyin()
934 sptr += length; in ttyin()
948 *sptr = '\0'; in ttyin()