What is glibc Linux GNU C Library? – POFTUT

What is glibc Linux GNU C Library?

Linux provides a lot of opensource and free libraries to use operating system features easily. GNU is an opensource community which creates a lot of open source and free libraries. glibc is the short form of the GNU C Library.

C Standard Library

C programming language provides some standard libraries. The main standard library is named as C Standard Library which provides a lot of functions those defined in C Programming language standards. It provides functions about Basic Types, String Handling, Input/Output, Signal Handling etc. The latest version of C Standard Library is C11 which is created as ISO/IEC 9899:2011.

GNU C Library

GNU C Library is open source implementation of the C Standard Library. It provides all standard features and also some extra frequently used features. It provides portability and high performance. Most Linux distributions use glibc as standard C library.

Features

glibc provides following features, functions, and libraries.

  • Error Reporting
  • Virtual Memory Allocation and Paging
  • String and Array Utilities
  • Searching and Sorting
  • File System
  • Sockets
  • Syslog
  • Mathematics

Versions

First glibc which is named as pre-release is released in 1988. Then the following versions are released in the given dates.

  • GLIBC 0.1 – 1991
  • GLIBC 1.0 – 1992
  • GLIBC 2.0 – 1997
  • GLIBC 2.28 – 2018

LEARN MORE  mmap Tutorial with Examples In C and C++ Programming Languages

Leave a Reply

Your email address will not be published. Required fields are marked *

Enjoy this blog? Please spread the word :)