Home
last modified time | relevance | path

Searched refs:shbuf (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/libshell/common/edit/
H A Dvi.c217 int ed_viread(void *context, int fd, register char *shbuf, int nchar, int reedit) in ed_viread() argument
252 shbuf[reedit] = 0; in ed_viread()
260 return(reexit?reedit:ed_read(context, fd, shbuf, nchar,0)); in ed_viread()
275 i = ed_read(context, fd, shbuf, nchar, 0); in ed_viread()
288 term_char = shbuf[--i]; in ed_viread()
292 shbuf[i--] = '\0'; in ed_viread()
294 shbuf[i+1] = '\0'; in ed_viread()
298 register int c = shbuf[0]; in ed_viread()
308 shbuf[i--] = '\0'; /* null terminate line */ in ed_viread()
320 term_char = shbuf[--i]; in ed_viread()
[all …]