Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

glibc, glib and gnulib

Tags:

glibc

glib

what are differences in the strength and features in gnulib glib and glibc Thanks!

like image 507
Tim Avatar asked Feb 10 '10 20:02

Tim


People also ask

What is GLib used for?

GLib implements functions that provide threads, thread programming and related facilities such as primitive variable access, mutexes, asynchronous queues, secure memory pools, message passing and logging, hook functions (callback registering) and timers.

What is libc so used for?

DESCRIPTION top. The term "libc" is commonly used as a shorthand for the "standard C library", a library of standard functions that can be used by all C programs (and sometimes by programs in other languages).

What is Libglib?

GLib is the low-level core library that forms the basis for projects such as GTK and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.

Is glibc a Posix?

In February 1988, FSF described glibc as having nearly completed the functionality required by ANSI C. By 1992, it had the ANSI C-1989 and POSIX. 1-1990 functions implemented and work was under way on POSIX.


1 Answers

glibc is a core C runtime library. It provides things like printf(3) and fopen(3).

glib is an object-based event loop and utility library written in C.

gnulib is a library that provides an adapter from the POSIX API to the native API.

All three are used for completely different tasks.

like image 149
Ignacio Vazquez-Abrams Avatar answered Oct 14 '22 08:10

Ignacio Vazquez-Abrams