linux glibc快速开始

本文介绍了Linux glibc,它是GNU系统和Linux系统的核心库,提供ISO C11、POSIX.1-2008等API。glibc包含各种功能,如字符串处理、信号处理、动态加载共享库等,并详细说明了如何查看glibc版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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操作系统所提供的系统服务外,它本 身也提供了许多其它一些必要功能服务的实现,主要的如

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

西京刀客

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值