1: # include   "curses.ext"
   2: 
   3: /*
   4:  *	This routine adds a string starting at (_cury,_curx)
   5:  *
   6:  * 1/26/81 (Berkeley) @(#)addstr.c	1.1
   7:  */
   8: waddstr(win,str)
   9: reg WINDOW  *win;
  10: reg char    *str;
  11: {
  12: # ifdef DEBUG
  13:     fprintf(outf, "WADDSTR(\"%s\")\n", str);
  14: # endif
  15:     while (*str)
  16:         if (waddch(win, *str++) == ERR)
  17:             return ERR;
  18:     return OK;
  19: }

Defined functions

waddstr defined in line 8; used 5 times
Last modified: 1983-05-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 673
Valid CSS Valid XHTML 1.0 Strict