X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_util.3x.html;h=fe24e4907c64e8d09108ffc7628ec7eb359c81e9;hp=a9fcb5f924427b4205ce4f2612183fe94b3cd28f;hb=8f6d94b8d6211a2323caef53fa4c96c475ec9a62;hpb=06078d3fa68db669ed37178c01873546b4b28745 diff --git a/doc/html/man/curs_util.3x.html b/doc/html/man/curs_util.3x.html index a9fcb5f9..fe24e490 100644 --- a/doc/html/man/curs_util.3x.html +++ b/doc/html/man/curs_util.3x.html @@ -1,7 +1,7 @@ - + curs_util 3x - + @@ -55,10 +55,10 @@

SYNOPSIS

        #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.
+
 
 

use_env/use_tioctl

        If  ncurses  is  configured  to provide the sp-functions extension, the