Chapter 8. C library functions
This chapter covers
- Doing math, handling files, and processing strings
- Manipulating time
- Managing the runtime environment
- Terminating programs
The functionality that the C standard provides is separated into two big parts. One is the proper C language, and the other is the C library. We have looked at several functions that come with the C library, including printf, puts, and strtod, so you should have a good idea what to expect: basic tools that implement features that we need in everyday programming and for which we need clear interfaces and semantics to ensure portability.
On many platforms, the clear specification through an application programming interface (API) also allows us to separate the compiler ...
Get Modern C 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.