C 标准函式库的历史沿革
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了C 标准函式库的历史沿革相关的知识,希望对你有一定的参考价值。
参考技术A1995年,Normative Addendum1 (NA1)批准了三个表头档(iso646.h, wchar.h, and wctype.h)增加到C标准函式库中。C99标准增加了六个表头档(complex.h, fenv.h, inttypes.h, stdbool.h, stdint.h, and tgmath.h)。C11标准中又新增了5个表头档(stdalign.h, stdatomic.h, stdnoreturn.h, threads.h, and uchar.h)。至此,C标准函式库共29个表头档: 名字 源自 描述 <assert.h> Contains the assert macro, used to assist with detecting logical errors and other types of bug in debugging versions of a program. <complex.h> C99 A set of functions for manipulating复数. <ctype.h> Defines set of functions used to classify characters by their types or to convert between upper and lower case in a way that is independent of the used character set (typicallyASCIIor one of its extensions, although implementations utilizingEBCDICare also known). <errno.h> For testing error codes reported by library functions. <fenv.h> C99 Defines a set of functions for controlling浮点数environment. <float.h> Defines macro constants specifying the implementation-specific properties of the浮点数library. <inttypes.h> C99 Defines exact width integer types. <iso646.h> NA1 Defines several macros that are equivalent to some of the operators in C. For programming inISO 646variant character sets. <limits.h> Defines macro constants specifying the implementation-specific properties of the integer types. <locale.h> Defines C localization functions. <math.h> Defines C mathematical functions. <setjmp.h> Declares the macros setjmp and longjmp, which are used for non-local exits. <signal.h> Defines C signal handling functions. <stdalign.h> C11 For querying and specifying the data structure alignment of objects. <stdarg.h> For accessing a varying number of arguments passed to functions. <stdatomic.h> C11 For atomic operations on data shared between threads. <stdbool.h> C99 Defines a boolean data type. <stddef.h> Defines several useful types and macros. <stdint.h> C99 Defines exact width integer types. <stdio.h> Defines core input and output functions <stdlib.h> Defines numeric conversion functions, pseudo-random numbers generation functions, dynamicmemory allocation, process control functions <stdnoreturn.h> C11 For specifying non-returning functions. <string.h> Defines C string handling functions. <tgmath.h> C99 Defines type-generic mathematical functions. <threads.h> C11 Defines functions for managing multiple threads as well as mutexes and condition variables. <time.h> Defines date and time handling functions <uchar.h> C11 Types and functions for manipulatingUnicodecharacters. <wchar.h> NA1 Defines wide string handling functions. <wctype.h> NA1 Defines set of functions used to classify wide characters by their types or to convert between upper and lower case
以上是关于C 标准函式库的历史沿革的主要内容,如果未能解决你的问题,请参考以下文章