Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses_intro(3)

unctrl(3)  —  Subroutines

Digital

NAME

unctrl − convert character to printable form

SYNOPSIS

#include <curses.h>

char ∗unctrl(c)
chtype c;

DESCRIPTION

The unctrl routine expands the character c into a character string which is a printable representation of the character. 

Control characters are displayed in the ^X notation.  Printing characters are displayed normally.  The unctrl routine is a macro, defined in the unctrl.h header file. This header file is included by the curses.h header file described in curses_intro(3), so you do not have to include it again. 

RETURN VALUES

The unctrl macro returns a string. 

RELATED INFORMATION

curses_intro(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026