|
|
1.1 root 1: # include "curses.ext"
2:
3: /*
4: * This routine adds a string starting at (_cury,_curx)
5: */
6: waddstr(win,str)
7: reg WINDOW *win;
8: reg char *str;
9: {
10: # ifdef DEBUG
11: fprintf(outf, "WADDSTR(\"%s\")\n", str);
12: # endif
13: while (*str)
14: if (waddch(win, *str++) == ERR)
15: return ERR;
16: return OK;
17: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.