Стандарт языка Си С99 TC (1113411), страница 2
Текст из файла (страница 2)
. . . . . . . . . . .7.14.1 Specify signal handling. . . . . . . . . . . .7.14.2 Send signal. . . . . . . . . . . . . . . . .7.15 Variable arguments <stdarg.h>. . . . . . . . . . .7.15.1 Variable argument list access macros . . . . . . .7.16 Boolean type and values <stdbool.h>. . . . .
. . .7.17 Common definitions <stddef.h> . . . . . . . . . . .7.18 Integer types <stdint.h> . . . . . . . . . . . . . .7.18.1 Integer types. . . . . . . . . . . . . . . .7.18.2 Limits of specified-width integer types. . . . . .7.18.3 Limits of other integer types. . . . . . . . . .7.18.4 Macros for integer constants. . . . . . . . . .7.19 Input/output <stdio.h>. . .
. . . . . . . . . . .7.19.1 Introduction . . . . . . . . . . . . . . . . .7.19.2 Streams. . . . . . . . . . . . . . . . . .7.19.3 Files . . . . . . . . . . . . . . . . . . . .7.19.4 Operations on files. . . . . . . . . . . . . .7.19.5 File access functions. . . . . . . . . . . . .7.19.6 Formatted input/output functions. . . . . . . .7.19.7 Character input/output functions . . . .
. . . . .7.19.8 Direct input/output functions. . . . . . . . . .viContentsWG14/N1256...............................................................................................................................................................................202203204205206212214215216218221223228230231235236238239240243243244246247248249249253254255255257259260262262264266268270274296301WG14/N12567.207.217.227.237.247.257.26Committee Draft — Septermber 7, 2007ISO/IEC 9899:TC37.19.9 File positioning functions. .
. . . . . . . . . .7.19.10 Error-handling functions . . . . . . . . . . . . .General utilities <stdlib.h>. . . . . . . . . . . . .7.20.1 Numeric conversion functions . . . . . . . . . . .7.20.2 Pseudo-random sequence generation functions. . . .7.20.3 Memory management functions . . . . . . . .
. .7.20.4 Communication with the environment. . . . . . .7.20.5 Searching and sorting utilities . . . . . . . . . . .7.20.6 Integer arithmetic functions. . . . . . . . . . .7.20.7 Multibyte/wide character conversion functions. . . .7.20.8 Multibyte/wide string conversion functions. . . . .String handling <string.h> . . . . . . . . . . . . . .7.21.1 String function conventions .
. . . . . . . . . . .7.21.2 Copying functions. . . . . . . . . . . . . . .7.21.3 Concatenation functions . . . . . . . . . . . . .7.21.4 Comparison functions . . . . . . . . . . . . . .7.21.5 Search functions. . . . . . . . . . . . . . . .7.21.6 Miscellaneous functions . . . . . . . . .
. . . .Type-generic math <tgmath.h>. . . . . . . . . . . .Date and time <time.h>. . . . . . . . . . . . . . .7.23.1 Components of time. . . . . . . . . . . . . .7.23.2 Time manipulation functions. . . . . . . . . . .7.23.3 Time conversion functions. . . . . . . . . . . .Extended multibyte and wide character utilities <wchar.h> . .7.24.1 Introduction . . . .
. . . . . . . . . . . . . .7.24.2 Formatted wide character input/output functions. . .7.24.3 Wide character input/output functions. . . . . . .7.24.4 General wide string utilities. . . . . . . . . . .7.24.5 Wide character time conversion functions. . . . . .7.24.6 Extended multibyte/wide character conversion utilities .Wide character classification and mapping utilities <wctype.h>7.25.1 Introduction . . . .
. . . . . . . . . . . . . .7.25.2 Wide character classification utilities . . . . . . . .7.25.3 Wide character case mapping utilities . . . . . . . .Future library directions. . . . . . . . . . . . . . . .7.26.1 Complex arithmetic <complex.h> . . . . . . . .7.26.2 Character handling <ctype.h>.
. . . . . . . .7.26.3 Errors <errno.h>. . . . . . . . . . . . . .7.26.4 Format conversion of integer types <inttypes.h>.7.26.5 Localization <locale.h>. . . . . . . . . . .7.26.6 Signal handling <signal.h>. . . . . .
. . . .7.26.7 Boolean type and values <stdbool.h>. . . . . .7.26.8 Integer types <stdint.h>. . . . . . . . . . .7.26.9 Input/output <stdio.h>. . . . . . . . . . . .Contents....................................................................................................................................302304306307312313315318320321323325325325327328330333335338338339341348348349367371385386393393394399401401401401401401401401401402viiISO/IEC 9899:TC3Committee Draft — Septermber 7, 2007WG14/N12567.26.10 General utilities <stdlib.h>. . .
. . . .7.26.11 String handling <string.h>. . . . . . .7.26.12 Extended multibyte and wide character utilities<wchar.h>. . . . . . . . . . . . . .7.26.13 Wide character classification and mapping utilities<wctype.h> . . . . . . . . . . . . . .Annex A (informative) Language syntax summary. .A.1 Lexical grammar. . . . . . . . . .
. .A.2 Phrase structure grammar . . . . . . . . .A.3 Preprocessing directives. . . . . . . . .......... . . . . . 402............403403409416Annex B (informative) Library summary. . . . . . . . . . . . .B.1 Diagnostics <assert.h>. . . . . .
. . . . . . . . .B.2 Complex <complex.h> . . . . . . . . . . . . . . . .B.3 Character handling <ctype.h> . . . . . . . . . . . . .B.4 Errors <errno.h>. . . . . . . . . . . . . . . . . .B.5 Floating-point environment <fenv.h>.
. . . . . . . . .B.6 Characteristics of floating types <float.h> . . . . . . . .B.7 Format conversion of integer types <inttypes.h> . . . . .B.8 Alternative spellings <iso646.h> . . . . . . . . . . . .B.9 Sizes of integer types <limits.h>. . . . . . . . . . .B.10 Localization <locale.h> . . . . . . . . . . . .
. . .B.11 Mathematics <math.h> . . . . . . . . . . . . . . . .B.12 Nonlocal jumps <setjmp.h>. . . . . . . . . . . . .B.13 Signal handling <signal.h> . . . . . . . . . . . . . .B.14 Variable arguments <stdarg.h>. . . . . . . . . . . .B.15 Boolean type and values <stdbool.h>. . . . .
. . . .B.16 Common definitions <stddef.h> . . . . . . . . . . . .B.17 Integer types <stdint.h> . . . . . . . . . . . . . . .B.18 Input/output <stdio.h>. . . . . . . . . . . . . . .B.19 General utilities <stdlib.h>. . . . . .
. . . . . . .B.20 String handling <string.h> . . . . . . . . . . . . . .B.21 Type-generic math <tgmath.h>. . . . . . . . . . . .B.22 Date and time <time.h>. . . . . . . . . . . . . . .B.23 Extended multibyte/wide character utilities <wchar.h>. . .B.24 Wide character classification and mapping utilities <wctype.h>...........................................................................419419419421421421422422423423423423428428428428429429429431433434434435437.........
. . . . . . . . . . . . . . . . 439Annex D (normative) Universal character names for identifiersAnnex E (informative) Implementation limitsContents. . . . . . . 440. . . . . . . . . . . . . . 442Annex F (normative) IEC 60559 floating-point arithmeticF.1 Introduction. . . . . . . . . . . . . .F.2 Types . . . .
. . . . . . . . . . . . .F.3 Operators and functions. . . . . . . . .viii..... . . . . . 402....Annex C (informative) Sequence points..... . . . . . 402. . . . . . 402........................................444444444445WG14/N1256F.4F.5F.6F.7F.8F.9Committee Draft — Septermber 7, 2007Floating to integer conversionBinary-decimal conversionContracted expressions . .Floating-point environmentOptimization .
. . . . .Mathematics <math.h> .................................................447447448448451454Annex G (informative) IEC 60559-compatible complex arithmeticG.1 Introduction. . . . . . . . . . . . . . . . .G.2 Types . . . . . . . . . . . . . . . . . . . .G.3 Conventions. . . . . . . . . . . . . . . . .G.4 Conversions. .
. . . . . . . . . . . . . . .G.5 Binary operators. . . . . . . . . . . . . . .G.6 Complex arithmetic <complex.h>. . . . . . .G.7 Type-generic math <tgmath.h>. . . . . . . ........................................................467467467467468468472480Annex H (informative) Language independent arithmetic . .H.1 Introduction. .
. . . . . . . . . . . . . .H.2 Types . . . . . . . . . . . . . . . . . . .H.3 Notification. . . . . . . . . . . . . . . .............................481481481485.....Annex I (informative) Common warningsAnnex J (informative) Portability issuesJ.1 Unspecified behavior . . . .J.2 Undefined behavior. . . .J.3 Implementation-defined behaviorJ.4 Locale-specific behavior. .J.5 Common extensions.
. . .BibliographyIndex......................................................ISO/IEC 9899:TC3..... . . . . . . . . . . . . . . . 487. . . .. . . .. . . .. . .. . . .. . . ...............................................................................489489492505512513. . . . . . . . . . . . . . . . .
. . . . . . . . . . 516. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519ContentsixISO/IEC 9899:TC3xCommittee Draft — Septermber 7, 2007ContentsWG14/N1256WG14/N1256Committee Draft — Septermber 7, 2007ISO/IEC 9899:TC3Foreword1ISO (the International Organization for Standardization) and IEC (the InternationalElectrotechnical Commission) form the specialized system for worldwidestandardization. National bodies that are member of ISO or IEC participate in thedevelopment of International Standards through technical committees established by therespective organization to deal with particular fields of technical activity.