diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-03 05:21:47 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-03 05:21:47 +0000 |
commit | 211326e37501ac01a66994a221020b75ab5f63f0 (patch) | |
tree | 6d6c7182f1034b1b04c98386a1c3ba44e8accd5f /lib/libcurses/unctrl.h | |
parent | 7c742f381e7808d0b12c17b534305751f3ebb0cb (diff) |
Merge of ncurses-4.1-971129
Diffstat (limited to 'lib/libcurses/unctrl.h')
-rw-r--r-- | lib/libcurses/unctrl.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libcurses/unctrl.h b/lib/libcurses/unctrl.h index 32554512eb9..14590cb364a 100644 --- a/lib/libcurses/unctrl.h +++ b/lib/libcurses/unctrl.h @@ -1,3 +1,5 @@ +/* $OpenBSD: unctrl.h,v 1.3 1997/12/03 05:21:45 millert Exp $ */ + /*************************************************************************** * COPYRIGHT NOTICE * **************************************************************************** @@ -24,14 +26,9 @@ * Display a printable version of a control character. * Control characters are displayed in caret notation (^x), DELETE is displayed * as ^?. Printable characters are displayed as is. - * - * The returned pointer points to a static buffer which gets overwritten by - * each call. Therefore, you must copy the resulting string to a safe place - * before calling unctrl() again. - * */ -/* Id: unctrl.h.in,v 1.5 1997/04/26 23:04:09 tom Exp $ */ +/* Id: unctrl.h.in,v 1.7 1997/09/13 23:19:40 tom Exp $ */ #ifndef _UNCTRL_H #define _UNCTRL_H 1 @@ -45,6 +42,7 @@ extern "C" { #include <curses.h> +#undef unctrl extern NCURSES_CONST char *unctrl(chtype); #ifdef __cplusplus |