PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ncurses_addstr> <ncurses_addchstr
Last updated: Fri, 01 Jun 2007

view this page in

ncurses_addnstr

(PHP 4 >= 4.2.0, PHP 5, PECL ncurses:1.0.0)

ncurses_addnstr — Add string with specified length at current position

Description

int ncurses_addnstr ( string $s, int $n )
Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Warning

This function is currently not documented; only the argument list is available.

Parameters

s

n



add a note add a note User Contributed Notes
ncurses_addnstr
nweeks at utas dot edu dot au
07-Nov-2002 11:49
Quite handy for truncing fields that may upset a screen layout:

ncurses_addnstr("tenletters",3);

only renders to screen "ten", and truncs the rest

ncurses_addstr> <ncurses_addchstr
Last updated: Fri, 01 Jun 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites