ISO/IEC 9,899:2011 clause 5--5.2.2 character display semantics

Source: Internet
Author: User

5.2.2 Character display semantics


1. The active position is the position on a display device, and the next character output by the FPUTC function will appear in that position. The intention of writing a print character (by the isprint function) to the display device is to display a graphical representation of that character at the active location, and then move the active position successively to the next position in the current row. The writing direction is region-specific. If the active location is at the last position of a row (if any), then the behavior of the display device is unspecified.

2. An alphabet escape sequence that represents non-graphic characters in the execution character set is intended to produce behavior on the display device, as follows:

\a( warning ) produces a audible or visible warning without changing the current active position.

\b( backspace ) moves the active position to the previous position of the current line. If the active position is in the initial position of a row, then the behavior of the display device is unspecified.

\f( page break ) moves the active position to the initial position at the beginning of the next logical page.

\ n( newline ) moves the active position to the initial position of the next line.

\ r( enter ) moves the active position to the initial position of the current row.

\ t( horizontal tab ) moves the active position to the next horizontal tab position on the current line. If the active location is or crosses the last position defined by the Horizontal tab position, then the behavior of the display device is unspecified.

\v( vertical tab ) moves the active position to the initial position of the next vertical tab position. If the active location is or crosses the last position defined by the Vertical tab position, then the behavior of the display device is unspecified.

3.

ISO/IEC 9,899:2011 clause 5--5.2.2 character display semantics

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.