Top "Libc" questions

The C standard library consists of a set of sections of the ISO C standard which describe a collection of headers and library routines used to implement common operations, such as input/output and string handling, in the C programming language.

How to link to a different libc file?

I want to supply the shared libraries along with my program rather than using the target system's due to version …

c gcc linker ld libc
Android libc.so crash?

I'm using AndEngine with the PhysicsBox2DExtension to make a game. My game keeps crashing and I get this in …

android crash box2d andengine libc
passing argument 1 of ‘strncmp’ makes pointer from integer without a cast C programing

I want to compare some data that the client sends to a server. Bout i have this error when I …

c libc strncmp
Fatal signal 7 (SIGBUS) at 0x00000000 (code=2)

While using a OSGi Platform on Android i got this errormsg: Fatal signal 7 (SIGBUS) at 0x595302e0 (code=2) I don't …

android osgi runtime-error apache-felix libc
Is malloc/free a syscall or a library routine provided by libc?

If malloc/free is implemented as a library routine in libc, then is it implemented on top of the sbrk …

c linux system-calls libc
What exactly SIG_DFL do?

What exactly SIG_DFL (defaut handler for signals) does? I'm interested in debugging SIGTSTP. It misbehaves slightly under weird conditions. …

linux signals libc
Small libc for embedded systems

I am looking for a small libc for embedded use with freertos on a ARM7 microcontroller. I have looked at …

c embedded libc freertos
Should I free/delete char* returned by getenv()?

char * val; val = getenv("ENV_VAR_NAME"); above is a code to get environment variable, will it cause memory leak …

c libc
Android Static Linking vs Dynamic Linking against glibc

I have been cross-compiling some Linux tools (and some of my own C code) to Android and one of the …

android android-ndk static-linking dynamic-linking libc
What is the difference between /lib/i386-linux-gnu/libc.so.6, /lib/x86_64-linux-gnu/libc.so.6 and /usr/lib/x86_64-linux-gnu/libc.so?

I installed Matlab in my Linux Mint 14 Nadia (a uname -a shows: Linux Ideapad-Z570 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 …

gcc 64-bit libc