C Language standard library function catalog

Source: Internet
Author: User
Tags locale

Not the software industry leader, will always only follow the part, but also has the advantage, standing on the shoulders of predecessors can save a lot of time to do more useful things. Now, let's talk about the standard library functions of C language. A lot of C library function reference or use the TC library function reference, so specifically the current C language (C99) standard library functions of the 24 header file list is as follows:

Assert.h inttypes.h (C99) signal.h stdlib.h
Complex.h (C99) iso646.h (C95) stdarg.h string.h
Ctype.h limits.h stdbool.h tgmath.h (C99)
Errno.h locale.h stddef.h time.h
Fenv.h (C99) math.h stdint.h (C99) wchar.h (C95)
Float.h setjmp.h stdio.h wctype.h (C95)

Among them, C99 said that the header file was added in the C99 standard, C95 said that the original C89 a supplementary C89 standard, also known as C89 Supplement 1.
Standard header files in C89:
1. <assert.h> define macro assert ()
2. <ctype.h> character processing
3. <errno.h> Error Reporting
4. <float.h> defines the floating point associated with the implementation
5. <limits.h> define various limit values related to implementation
6. <locale.h> support function setlocale ()
7. <math.h> the various definitions used in the Math function library
8. <setjmp.h> support non-local jump
9. <signal.h> Define signal values
<stdarg.h> supporting variable-length variable-element lists
<stddef.h> Define common constants
<stdio.h> support file input and output
<stdlib.h> Various other notices
<string.h> Support String Functions
<time.h> Support System Time function

Add standard header files to the 95 revision:
1. <iso646.h> was first introduced in this 1995 when it was first revised to define macros that correspond to various operators
2. <wchar.h> was first introduced in 1995 when it was first revised to support multi-byte and wide-byte functions
3. <wctype.h> was first introduced in 1995 when it was first revised to support multi-byte and wide-byte classification functions

Six standard header files are added to the C99:
1. <complex.h> Support Complex algorithm
2. <fenv.h> gives access to floating-point status markers and other aspects of the floating-point environment
3. <inttypes.h> defines a standard, portable set of integral types. Functions that handle maximum width integers are also supported
4. <stdbool.h> supports Boolean data type types. Define macro bool for compatibility with C + +

5. <stdint.h> defines a standard, portable set of integral types. This file is included in the <inttypes.h>
6. <tgmath.h> define a general type of floating-point macro

The above is the C language standard header file, a total of 24. And each platform each of the C library functions of the various expansion, there is a vast number. such as POSIX C, GNU C and so on.

This article transferred from: http://blog.csdn.net/daobaqin/article/details/6020057

C language standard library function catalog

Related Article

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.