* Copyright (c) 1981 Regents of the University of California.
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of California at Berkeley. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
static char sccsid
[] = "@(#)printw.c 5.3 (Berkeley) %G%";
* This routine implements a printf on the standard screen.
(void) vsprintf(buf
, fmt
, &args
);
return waddstr(stdscr
, buf
);
* This routine implements a printf on the given window.
(void) vsprintf(buf
, fmt
, &args
);
return waddstr(win
, buf
);