unctrl(CURSES)
unctrl --
generate printable representation of a character
Synopsis
cc [options] file -lcurses
#include <unctrl.h>
char *unctrl(chtype c);
Description
The
unctrl(CURSES)
function generates a character string that is a printable representation of
c.
If c is a control character, it is converted to the
^X notation.
If c contains rendition information, the effect is undefined.
Return value
Upon successful completion,
unctrl(CURSES)
returns the generated string.
Otherwise, it returns a null pointer.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.
References
keyname(CURSES),
wunctrl(CURSES),
unctrl(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005