Glibc

GNU C Library
Original author(s)Roland McGrath
Developer(s)GNU Project, most contributions by Ulrich Drepper
Initial release1987; 37 years ago (1987)[1]
Stable release
2.40[2] Edit this on Wikidata / 22 July 2024
Repository
Written inC
Operating systemUnix-like
TypeRuntime library
License2001: LGPL-2.1-or-later[a]
1992: LGPL-2.0-or-later[b]
Websitewww.gnu.org/software/libc/

The GNU C Library, commonly known as glibc, is the GNU Project implementation of the C standard library. It provides a wrapper around the system calls of the Linux kernel and other kernels for application use. Despite its name, it now also directly supports C++ (and, indirectly, other programming languages). It was started in the 1980s by the Free Software Foundation (FSF) for the GNU operating system.

glibc is free software released under the GNU Lesser General Public License.[3] The GNU C Library project provides the core libraries for the GNU system, as well as many 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.

  1. ^ Corbet, Jonathan (28 March 2012). "A turning point for GNU libc". LWN.net. Archived from the original on 23 April 2016. Retrieved 5 April 2012.
  2. ^ "The GNU C Library version 2.40 is now available". 22 July 2024. Retrieved 23 July 2024.
  3. ^ a b "sourceware.org Git – glibc.git/blob – Makefile". sourceware.org. Archived from the original on 10 June 2021. Retrieved 10 June 2021. LGPL-2.1-or-later in the headers
  4. ^ "sourceware.org Git – glibc.git/commit – Update to LGPL v.2.1". sourceware.org. 6 July 2001. Archived from the original on 10 June 2021. Retrieved 10 June 2021. LGPL-2.1-or-later in the headers
  5. ^ "glibc-1.04.tar.Z". 4 September 1992. Archived from the original on 22 December 2021. Retrieved 22 December 2021.
  6. ^ "sourceware.org Git – glibc.git/commit – Initial import: Makefile". sourceware.org. 18 February 1995. Archived from the original on 10 June 2021. Retrieved 10 June 2021. LGPL-2.0-or-later in the headers


Cite error: There are <ref group=lower-alpha> tags or {{efn}} templates on this page, but the references will not show without a {{reflist|group=lower-alpha}} template or {{notelist}} template (see the help page).