The values of special control characters are defined by the array c_cc. The subscript name and description for each array element in both canonical and non-canonical modes are listed in the table below:
Index name in the ... | Definition | |
Canonical mode | Non-canonical mode | |
|
| |
|
| |
|
| |
|
|
|
|
| |
|
| |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
The subscript names are constants that represent the subscript of each respective element (character) in the c_cc array. The character c_cc[VSTOP], for example, is thus the STOP character in canonical as well as non-canonical mode.
The subscript names are unique, except that the VMIN and VTIME subscripts may have the same values as VEOF and VEOL, respectively.
Implementations (such as the POSIX subsystem) that do not support job control may ignore the SUSP character value indexed by the VSUSP subscript in the c_cc array.
If {_POSIX_VDISABLE} is defined for the terminal device file (i.e. the special file associated with the terminal) and the value of one of the modifiable special characters is the same as {_POSIX_VDISABLE} (see section “Special characters”), then that function is deactivated, i.e. no input character will be recognized as the disabled special character. If ICANON is not set, the value of {_POSIX_VDISABLE} has no special meaning for entries with the VMIN and VTIME subscripts in the c_cc array.