iPXE
Functions
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

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
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

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

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

Parameters:
*winwindow to be rendered in
*chstrpointer to first chtype in "string"
nmax number of chars from chstr to render
Return values:
rcreturn status code

Definition at line 21 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().

                                                           {
        struct cursor_pos pos;  

        _store_curs_pos( win, &pos );
        _wputchstr( win, chstr, NOWRAP, n );
        _restore_curs_pos( win, &pos );
        return OK;
}