The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

unctrl - generate printable representation of a character

 SYNOPSIS



#include <unctrl.h>

char *unctrl(chtype c);

 DESCRIPTION

The unctrl() 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() returns the generated string. Otherwise, it returns a null pointer.

 ERRORS

No errors are defined.

 SEE ALSO

keyname(), wunctrl(), <unctrl.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]