print_nadv.c File Reference

MuCurses printing functions (no cursor advance). More...

#include <curses.h>
#include "mucurses.h"
#include "cursor.h"

Go to the source code of this file.

Functions

int waddchnstr (WINDOW *win, const chtype *chstr, int n)
 Add string of single-byte characters and renditions to a window.


Detailed Description

MuCurses printing functions (no cursor advance).

Definition in file print_nadv.c.


Function Documentation

int waddchnstr ( WINDOW win,
const chtype chstr,
int  n 
)

Add string of single-byte characters and renditions to a window.

Parameters:
*win window to be rendered in
*chstr pointer to first chtype in "string"
n max number of chars from chstr to render
Return values:
rc return status code

Definition at line 19 of file print_nadv.c.

References _restore_curs_pos(), _store_curs_pos(), _wputchstr(), NOWRAP, and OK.

Referenced by addchnstr(), addchstr(), mvaddchnstr(), mvaddchstr(), mvwaddchnstr(), mvwaddchstr(), and waddchstr().

00019                                                            {
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:46 2010 for gPXE by  doxygen 1.5.7.1