© Slobodan Dmitrović 2021
S. DmitrovićModern C for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-6643-4_32

32. Introduction to C Standard Library

Slobodan Dmitrović1  
(1)
Belgrade, Serbia
 
The C compiler is accompanied by a number of useful functions and macros called the C standard library. These functions are defined in standard-library header files. To use the C standard-library functions, we simply include the appropriate header into our program. Here are some of the C standard-library headers:

Available in all C standards:

<assert.h>

Assertion macros

<ctype.h>

Utils for individual characters

<errno.h>

Macros reporting error conditions

<float.h>

Floating type limits

<limits.h>

Sizes of basic types

<locale.h>

Localization utils

<math.h>

Math functions ...

Get Modern C for Absolute Beginners: A Friendly Introduction to the C Programming Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.