1<html lang="en"> 2<head> 3<title>Characters implementation - Using the GNU Compiler Collection (GCC)</title> 4<meta http-equiv="Content-Type" content="text/html"> 5<meta name="description" content="Using the GNU Compiler Collection (GCC)"> 6<meta name="generator" content="makeinfo 4.13"> 7<link title="Top" rel="start" href="index.html#Top"> 8<link rel="up" href="C-Implementation.html#C-Implementation" title="C Implementation"> 9<link rel="prev" href="Identifiers-implementation.html#Identifiers-implementation" title="Identifiers implementation"> 10<link rel="next" href="Integers-implementation.html#Integers-implementation" title="Integers implementation"> 11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 12<!-- 13Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 141998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 152010 Free Software Foundation, Inc. 16 17Permission is granted to copy, distribute and/or modify this document 18under the terms of the GNU Free Documentation License, Version 1.3 or 19any later version published by the Free Software Foundation; with the 20Invariant Sections being ``Funding Free Software'', the Front-Cover 21Texts being (a) (see below), and with the Back-Cover Texts being (b) 22(see below). A copy of the license is included in the section entitled 23``GNU Free Documentation License''. 24 25(a) The FSF's Front-Cover Text is: 26 27 A GNU Manual 28 29(b) The FSF's Back-Cover Text is: 30 31 You have freedom to copy and modify this GNU Manual, like GNU 32 software. Copies published by the Free Software Foundation raise 33 funds for GNU development.--> 34<meta http-equiv="Content-Style-Type" content="text/css"> 35<style type="text/css"><!-- 36 pre.display { font-family:inherit } 37 pre.format { font-family:inherit } 38 pre.smalldisplay { font-family:inherit; font-size:smaller } 39 pre.smallformat { font-family:inherit; font-size:smaller } 40 pre.smallexample { font-size:smaller } 41 pre.smalllisp { font-size:smaller } 42 span.sc { font-variant:small-caps } 43 span.roman { font-family:serif; font-weight:normal; } 44 span.sansserif { font-family:sans-serif; font-weight:normal; } 45--></style> 46<link rel="stylesheet" type="text/css" href="../cs.css"> 47</head> 48<body> 49<div class="node"> 50<a name="Characters-implementation"></a> 51<p> 52Next: <a rel="next" accesskey="n" href="Integers-implementation.html#Integers-implementation">Integers implementation</a>, 53Previous: <a rel="previous" accesskey="p" href="Identifiers-implementation.html#Identifiers-implementation">Identifiers implementation</a>, 54Up: <a rel="up" accesskey="u" href="C-Implementation.html#C-Implementation">C Implementation</a> 55<hr> 56</div> 57 58<h3 class="section">4.4 Characters</h3> 59 60 <ul> 61<li><cite>The number of bits in a byte (C90 3.4, C99 3.6).</cite> 62 63 <p>Determined by ABI. 64 65 <li><cite>The values of the members of the execution character set (C90 66and C99 5.2.1).</cite> 67 68 <p>Determined by ABI. 69 70 <li><cite>The unique value of the member of the execution character set produced 71for each of the standard alphabetic escape sequences (C90 and C99 5.2.2).</cite> 72 73 <p>Determined by ABI. 74 75 <li><cite>The value of a </cite><code>char</code><cite> object into which has been stored any 76character other than a member of the basic execution character set 77(C90 6.1.2.5, C99 6.2.5).</cite> 78 79 <p>Determined by ABI. 80 81 <li><cite>Which of </cite><code>signed char</code><cite> or </cite><code>unsigned char</code><cite> has the same 82range, representation, and behavior as “plain” </cite><code>char</code><cite> (C90 836.1.2.5, C90 6.2.1.1, C99 6.2.5, C99 6.3.1.1).</cite> 84 85 <p><a name="index-fsigned_002dchar-2231"></a><a name="index-funsigned_002dchar-2232"></a>Determined by ABI. The options <samp><span class="option">-funsigned-char</span></samp> and 86<samp><span class="option">-fsigned-char</span></samp> change the default. See <a href="C-Dialect-Options.html#C-Dialect-Options">Options Controlling C Dialect</a>. 87 88 <li><cite>The mapping of members of the source character set (in character 89constants and string literals) to members of the execution character 90set (C90 6.1.3.4, C99 6.4.4.4, C90 and C99 5.1.1.2).</cite> 91 92 <p>Determined by ABI. 93 94 <li><cite>The value of an integer character constant containing more than one 95character or containing a character or escape sequence that does not map 96to a single-byte execution character (C90 6.1.3.4, C99 6.4.4.4).</cite> 97 98 <p>See <a href="../cpp/Implementation_002ddefined-behavior.html#Implementation_002ddefined-behavior">Implementation-defined behavior</a>. 99 100 <li><cite>The value of a wide character constant containing more than one 101multibyte character, or containing a multibyte character or escape 102sequence not represented in the extended execution character set (C90 1036.1.3.4, C99 6.4.4.4).</cite> 104 105 <p>See <a href="../cpp/Implementation_002ddefined-behavior.html#Implementation_002ddefined-behavior">Implementation-defined behavior</a>. 106 107 <li><cite>The current locale used to convert a wide character constant consisting 108of a single multibyte character that maps to a member of the extended 109execution character set into a corresponding wide character code (C90 1106.1.3.4, C99 6.4.4.4).</cite> 111 112 <p>See <a href="../cpp/Implementation_002ddefined-behavior.html#Implementation_002ddefined-behavior">Implementation-defined behavior</a>. 113 114 <li><cite>The current locale used to convert a wide string literal into 115corresponding wide character codes (C90 6.1.4, C99 6.4.5).</cite> 116 117 <p>See <a href="../cpp/Implementation_002ddefined-behavior.html#Implementation_002ddefined-behavior">Implementation-defined behavior</a>. 118 119 <li><cite>The value of a string literal containing a multibyte character or escape 120sequence not represented in the execution character set (C90 6.1.4, C99 6.4.5).</cite> 121 122 <p>See <a href="../cpp/Implementation_002ddefined-behavior.html#Implementation_002ddefined-behavior">Implementation-defined behavior</a>. 123</ul> 124 125 </body></html> 126 127