glibc, glib and gnulib
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.