Lines Matching refs:sptr
851 char *sptr, *p; in ttyin() local
862 sptr = cmdbuf; in ttyin()
876 if (sptr > cmdbuf) { in ttyin()
880 while (p < sptr) { in ttyin()
895 sptr = oldp; in ttyin()
897 (void) set_state(&state, ch, sptr); in ttyin()
916 sptr--; in ttyin()
919 if (sptr >= cmdbuf + sizeof (cmdbuf) || in ttyin()
927 if (set_state(&state, ch, sptr) == 0) { in ttyin()
931 (void) strncpy(sptr, multic, (size_t)length); in ttyin()
932 sptr += length; in ttyin()
946 *sptr = '\0'; in ttyin()