X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_util.3x.html;h=fe24e4907c64e8d09108ffc7628ec7eb359c81e9;hb=3ab4db240283db0682a66a8587f2174508348bc6;hp=09b376484e3703e6be924c8aecdefceb3a6490f0;hpb=bca50d0d8592defee6c584fdedd25f4b1a31345b;p=ncurses.git diff --git a/doc/html/man/curs_util.3x.html b/doc/html/man/curs_util.3x.html index 09b37648..fe24e490 100644 --- a/doc/html/man/curs_util.3x.html +++ b/doc/html/man/curs_util.3x.html @@ -1,7 +1,7 @@ @@ -35,7 +35,7 @@
#include <curses.h> - char *unctrl(chtype c); + const char *unctrl(chtype c); wchar_t *wunctrl(cchar_t *c); - char *keyname(int c); - char *key_name(wchar_t w); + const char *keyname(int c); + const char *key_name(wchar_t w); void filter(void); void nofilter(void); void use_env(bool f); @@ -196,7 +196,7 @@ o the data written is a copy of the WINDOW structure, and its associ- ated character cells. The format differs between the wide-charac- - ter (ncursesw) and non-wide (ncurses) libraries. You can transfer + ter (ncursesw) and non-wide (ncurses) libraries. You can transfer data between the two, however. o the retrieved window is always created as a top-level window (or @@ -331,6 +331,10 @@ "meta" keys (or if keyname is called before initializing curses), this implementation returns strings "M-^@", "M-^A", etc. + X/Open Curses documents unctrl as declared in <unctrl.h>, which ncurses + does. However, ncurses' <curses.h> includes <unctrl.h>, matching the + behavior of SVr4 curses. Other implementations may not do that. +
If ncurses is configured to provide the sp-functions extension, the