1: /*
2: * Copyright (c) 1980 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: */
6:
7: #if !defined(lint) && !defined(NOSCCS)
8: static char sccsid[] = "@(#)addstr.c 5.1 (Berkeley) 6/7/85";
9: #endif
10:
11: # include "curses.ext"
12:
13: /*
14: * This routine adds a string starting at (_cury,_curx)
15: *
16: */
17: waddstr(win,str)
18: reg WINDOW *win;
19: reg char *str;
20: {
21: # ifdef DEBUG
22: fprintf(outf, "WADDSTR(\"%s\")\n", str);
23: # endif
24: while (*str)
25: if (waddch(win, *str++) == ERR)
26: return ERR;
27: return OK;
28: }
Defined functions
waddstr
defined in line
17; used 34 times
- in /usr/include/curses.h line
100,
121
- in /usr/src/games/atc/graphics.c line
107,
131,
138,
152,
165,
184,
211,
232,
246,
295,
301,
309-313(2)
- in /usr/src/games/cribbage/io.c line
463
- in /usr/src/games/sail/pl_7.c line
145,
199,
263-267(2),
309-319(3),
386-388(2)
- in /usr/src/include/curses.h line
100,
121
- in /usr/src/ucb/PORT/systat/iostat.c line
315
- in /usr/src/ucb/PORT/systat/mbufs.c line
86
- in /usr/src/ucb/PORT/systat/netstat.c line
341
- in /usr/src/ucb/PORT/systat/swap.c line
121
- in /usr/src/usr.lib/libcurses/curses.h line
100,
121
- in /usr/src/usr.lib/libcurses/printw.c line
60
Defined variables
sccsid
defined in line
8;
never used