print_nadv.c

Go to the documentation of this file.
00001 #include <curses.h>
00002 #include "mucurses.h"
00003 #include "cursor.h"
00004 
00005 /** @file
00006  *
00007  * MuCurses printing functions (no cursor advance)
00008  *
00009  */
00010 
00011 /**
00012  * Add string of single-byte characters and renditions to a window
00013  *
00014  * @v *win      window to be rendered in
00015  * @v *chstr    pointer to first chtype in "string"
00016  * @v n         max number of chars from chstr to render
00017  * @ret rc      return status code
00018  */
00019 int waddchnstr ( WINDOW *win, const chtype *chstr, int n ) {
00020         struct cursor_pos pos;  
00021 
00022         _store_curs_pos( win, &pos );
00023         _wputchstr( win, chstr, NOWRAP, n );
00024         _restore_curs_pos( win, &pos );
00025         return OK;
00026 }

Generated on Tue Apr 6 20:01:06 2010 for gPXE by  doxygen 1.5.7.1