glibc
also: GNU C Library, libc
glibc (GNU C Library) is the standard C library for Linux systems, providing essential functions for program execution including memory management, input/output, string handling, and system calls.
glibc is the core library that translates C program calls into Linux kernel operations. Nearly every compiled program on Linux depends on it, making it fundamental to the entire system.
When you write C code like printf("hello") or malloc(), these functions are implemented in glibc. It acts as a bridge between applications and the kernel, handling both high-level C standard library functions and low-level system calls.
Example: A simple program that reads a file uses glibc's open(), read(), and close() functions, which internally invoke corresponding kernel syscalls. Without glibc, developers would need to call kernel syscalls directly using assembly or system call interfaces.
Different Linux distributions may use glibc or alternatives like musl libc (lighter-weight) or uclibc (for embedded systems), though glibc remains the most common and feature-complete option.