Home | History | Annotate | Download | only in hack

Lines Matching refs:bufp

217  * Read a line closed with '\n' into the array char bufp[BUFSZ].
223 getlin(char *bufp)
225 char *obufp = bufp;
232 *bufp = 0;
241 if (bufp != obufp) {
242 bufp--;
247 *bufp = 0;
254 *bufp = c;
255 bufp[1] = 0;
256 putstr(bufp);
257 if (bufp - obufp < BUFSZ - 1 && bufp - obufp < COLNO)
258 bufp++;
261 while (bufp != obufp) {
262 bufp--;