diff options
Diffstat (limited to 'lib/libncurses/unctrl.h')
-rw-r--r-- | lib/libncurses/unctrl.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/libncurses/unctrl.h b/lib/libncurses/unctrl.h new file mode 100644 index 000000000000..c80689c06005 --- /dev/null +++ b/lib/libncurses/unctrl.h @@ -0,0 +1,21 @@ + +/* + * unctrl.h + * + * Display a printable version of a control character. + * Control characters are displayed in caret notation (^x), DELETE is displayed + * as ^?. Printable characters sre displatyed 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. + * + */ +#ifndef _UNCTRL_H +#define _UNCTRL_H 1 + +#include <sys/cdefs.h> + +extern char *unctrl __P((unsigned char)); + +#endif /* _UNCTRL_H */ |