官术网_书友最值得收藏!

Libraries

Standard C not only defines a syntax, the environment, and how programs are linked, it also provides a set of libraries that may be leveraged by a programmer to perform system programming. Some of these libraries are as follows:

  • errno.h: Provides the code needed for working with errors. This library will be discussed in further detail in Chapter 13, Error - Handling with Exceptions.
  • inttypes.h: Provides type information, which will be discussed in Chapter 3System Types for C and C++.
  • limits.h: Provides information about the limits of each type, which will be discussed in Chapter 3, System Types for C and C++.
  • setjump.h: Provides the APIs for C-style exception handling, which will be discussed in Chapter 13, Error - Handling with Exceptions.
  • signal.h: Provides APIs for handling signals sent from the system to your program, which will be discussed in Chapter 5Programming Linux/Unix Systems.
  • stdbool.h: Provides type information, which will be discussed in Chapter 3, System Types for C and C++.
  • stddef.h: Provides type information, which will be discussed in Chapter 3, System Types for C and  C++.
  • stdint.h: Provides type information, which will be discussed in Chapter 3, System Types for C and C++.
  • stdio.h: Provides functions for working with input and output while system programming, which will be discussed in Chapter 6Learning to Program Console Input/Output, and Chapter 8Learning to Program File Input/Output
  • stdlib.h: Provides various utilities, including dynamic memory allocation APIs, which will be discussed in Chapter 7A Comprehensive Look at Memory Management.
  • time.h: Provides facilities for working with clocks, which will be discussed in Chapter 11Time Interfaces in Unix.

As stated previously, the bulk of this book will focus on these facilities and how they support system programming. 

主站蜘蛛池模板: 通渭县| 新干县| 临海市| 永定县| 武强县| 定西市| 洞口县| 庐江县| 布尔津县| 西畴县| 平定县| 清远市| 宜川县| 辉南县| 吉安县| 枣阳市| 华亭县| 临沭县| 德昌县| 正定县| 济阳县| 八宿县| 理塘县| 普兰县| 新乐市| 永清县| 客服| 庆安县| 吴桥县| 泊头市| 洛扎县| 丰都县| 天门市| 睢宁县| 芜湖县| 抚松县| 鄯善县| 城市| 个旧市| 云和县| 青神县|