Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dvi.c212 int ed_viread(void *context, int fd, register char *shbuf, int nchar, int reedit) in ed_viread() argument
247 shbuf[reedit] = 0; in ed_viread()
255 return(reexit?reedit:ed_read(context, fd, shbuf, nchar,0)); in ed_viread()
270 i = ed_read(context, fd, shbuf, nchar, 0); in ed_viread()
283 term_char = shbuf[--i]; in ed_viread()
287 shbuf[i--] = '\0'; in ed_viread()
289 shbuf[i+1] = '\0'; in ed_viread()
293 register int c = shbuf[0]; in ed_viread()
303 shbuf[i--] = '\0'; /* null terminate line */ in ed_viread()
315 term_char = shbuf[--i]; in ed_viread()
[all …]