linux glibc快速开始
官网: http://www.gnu.org/software/libc/libc.html
官方文档:http://www.gnu.org/software/libc/manual/
什么是glibc
The GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, as well as many other systems that use Linux as the kernel. These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD, OS-specific APIs and more. These APIs include such foundational facilities as open, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt, login, exit and more.
GNU c Library 项目为 GNU 系统和 GNU/Linux 系统以及许多其他使用 Linux 作为内核的系统提供核心库。这些库提供了关键的 api,包括 ISO C11、 posix 1-2008、 BSD、特定于 os 的 api 等等。这些 api 包括诸如打开、读、写、 malloc、 printf、 getaddrinfo、 dlopen、 pthread _ create、 crypt、 login、 exit 等基本功能。
The GNU C Library is designed to be a backwards compatible, portable, and high performance ISO C library. It aims to follow all relevant standards including ISO C11, POSIX.1-2008, and IEEE 754-2008.
GNU c 库被设计成一个向后兼容、可移植和高性能的 ISO c 库。它旨在遵循所有相关标准,包括 ISO C11、 posix 1-2008和 IEEE 754-2008。
该项目始建于1988年,至今已有30多年的历史。您可以在 wiki 上查看完整的项目发布历史。
The GNU C Library releases every 6 months. See the NEWS file in the glibc sources for more information.
GNU c 库每6个月发布一次。有关更多信息,请参阅 glibc 源中的 NEWS 文件。
glibc是gnu发布的libc库,也即c运行库。**glibc是linux 系统中最底层的api(应用程序开发接口),几乎其它任何的运行库都会倚赖于glibc。**glibc除了封装linux操作系统所提供的系统服务外,它本 身也提供了许多其它一些必要功能服务的实现,主要的如