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: #ifndef lint
   8: static char sccsid[] = "@(#)mvprintw.c	5.1 (Berkeley) 6/7/85";
   9: #endif not lint
  10: 
  11: # include   "curses.ext"
  12: 
  13: /*
  14:  * implement the mvprintw commands.  Due to the variable number of
  15:  * arguments, they cannot be macros.  Sigh....
  16:  *
  17:  */
  18: 
  19: mvprintw(y, x, fmt, args)
  20: reg int     y, x;
  21: char        *fmt;
  22: int     args; {
  23: 
  24:     return move(y, x) == OK ? _sprintw(stdscr, fmt, &args) : ERR;
  25: }
  26: 
  27: mvwprintw(win, y, x, fmt, args)
  28: reg WINDOW  *win;
  29: reg int     y, x;
  30: char        *fmt;
  31: int     args; {
  32: 
  33:     return wmove(win, y, x) == OK ? _sprintw(win, fmt, &args) : ERR;
  34: }
Last modified: 1985-06-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1059
Valid CSS Valid XHTML 1.0 Strict