Top "Glibc" questions

The GNU C library is used as the C library in the GNU system and most systems with the Linux kernel.

An alternative for the deprecated __malloc_hook functionality of glibc

I am writing a memory profiler for C and for that am intercepting calls to the malloc, realloc and free …

c gcc malloc deprecated glibc
How to build a C program using a custom version of glibc and static linking?

I have built glibc 2.14 and installed it in directory ~/GLIBC/glibc_install. Now I want to build and run programs …

c ld glibc static-linking
Meaning of double underscore in the beginning

In the standard library (glibc) I see functions defined with leading double underscores, such as __mmap in sys/mman.h. …

c linux gcc x86-64 glibc
multiple threads able to get flock at the same time

I was under the impression that flock(2) is thread safe, I recently, ran across the case in the code, where …

c linux glibc flock
How do I link glibc's implementation of iconv?

The GNU C library provides an implementation of iconv - how do I use it? Simple program: #include <iconv.…

c linux linker glibc iconv
MAP_ANONYMOUS with C99 standard

I have an application that uses the mmap system call, I was having an issue getting it to compile for …

c posix glibc mmap
Are functions in the C standard library thread safe?

Where can I get a definitive answer, whether my memcpy (using the eglibc implementation that comes with Ubuntu) is thread …

c multithreading thread-safety glibc
Install GLIBCXX_3.4.15 on Centos 6.9

I have a problem when I try to start my server Garry's Mod. Here is the error I get Failed …

server centos6 glibc libs garrys-mod
glibc, glib and gnulib

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

glibc glib
How to turn off Glibc run-time protections?

I am trying to learn about code vulnerabilities, and am testing some simple programs I wrote. However, many of the …

c++ security testing gcc glibc