Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c396 char *cutbuf; /* A cut-buffer of the same size as line[] */ member
1775 gl->cutbuf = NULL; in new_GetLine()
1932 gl->cutbuf = (char *) malloc(linelen + 2); in new_GetLine()
1933 if(!gl->cutbuf) { in new_GetLine()
1937 gl->cutbuf[0] = '\0'; in new_GetLine()
2067 if(gl->cutbuf) in del_GetLine()
2068 free(gl->cutbuf); in del_GetLine()
4245 strlcpy(gl->cutbuf, gl->line, gl->linelen); in KT_KEY_FN()
4277 strlcpy(gl->cutbuf, gl->line + gl->buff_curpos, gl->linelen); in KT_KEY_FN()
4369 memcpy(gl->cutbuf, gl->line + gl->buff_curpos, nc); in gl_delete_chars()
[all …]