Jump to: navigation, search

Alert

The alert character '\a' produces an audible or visible alert when output. This character is often mapped to 007 on ASCII systems, and 057 on EBCDIC systems (BEL).

Backspace

The backspace character '\b' moves to the previous position within the line. This character is often mapped to 010 on ASCII systems, and 026 on EBCDIC systems (BS).

Form feed

The form feed character '\f' starts a new page. This character is often mapped to 014 on ASCII and EBCDIC systems (FF).

Newline

The new line character '\n' moves to the start of the next line. This character is often mapped to 012 (LF) on ASCII systems, and 025 (NL) or 045 (LF) on EBCDIC systems.

Carriage return

The carriage return character '\r' moves to the start of the current line. This character is often mapped to 015 on ASCII and EBCDIC systems (CR).

Horizontal tab

The horizontal tab character '\t' moves to the next horizontal tabulation on the current line. If currently at or past the last tab, it results in unspecified behavior (Often, this can include moving to the end of the current line, or the start of the next, or to the first tab on the next line.). This character is often mapped to 011 on ASCII and 005 on EBCDIC systems (HT).

Vertical tab

The vertical tab character '\v' moves to the beginning of the line at the next vertical tabulation. If currently at or past the last vertical tab, it results in unspecified behavior. This character is often mapped to 013 on ASCII and EBCDIC systems (VT).

Null character

The null character '\0' indicates the end of a string. It is mapped to the value 0 (in ASCII and EBCDIC, this character is called NUL)

Personal tools