|
|
1.1 ! root 1: # include "curses.ext" ! 2: ! 3: /* ! 4: * implement the mvprintw commands. Due to the variable number of ! 5: * arguments, they cannot be macros. Sigh.... ! 6: */ ! 7: ! 8: mvprintw(y, x, fmt, args) ! 9: reg int y, x; ! 10: char *fmt; ! 11: int args; { ! 12: ! 13: return move(y, x) == OK ? _sprintw(stdscr, fmt, &args) : ERR; ! 14: } ! 15: ! 16: mvwprintw(win, y, x, fmt, args) ! 17: reg WINDOW *win; ! 18: reg int y, x; ! 19: char *fmt; ! 20: int args; { ! 21: ! 22: return wmove(win, y, x) == OK ? _sprintw(win, fmt, &args) : ERR; ! 23: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.