libc
Why float "division-by-zero" exception wasn't caught in a function even handler was set?
I\'ve tried to learn the signal handling in C, when found strange behaviour. When x /= y; executed in the context of the main function the signal handler works. But when the same executed in some fun[详细]
2023-01-05 00:22 分类:问答Posix equivalent of LocalAlloc(LMEM_ZEROINIT, size)
I have code which works on windows, that calls LocalAlloc as follows: LocalAlloc(LMEM_ZEROINIT, size) I need the equivalent malloc or calloc call to get this to work on Unix systems, through Mono.开[详细]
2023-01-03 09:49 分类:问答How can I link to a specific glibc version?
When I compile something on my Ubuntu Lucid 10.04 PC it gets linked against glibc. Lucid uses 2.11 of glibc. When I run this binary on another PC with an older glibc, the command fails saying there\'s[详细]
2022-12-31 09:05 分类:问答Compiling without libc
I want to compile my C-code without the (g)libc. How can I deactivate it and which functions depend on it?[详细]
2022-12-25 07:50 分类:问答bionic (android libc) mutex variants
Which types of mu开发者_开发技巧tex does bionic libc support? recursive timed adaptive errorchecking[详细]
2022-12-20 06:16 分类:问答Android libc version and malloc implementation
What libc implementat开发者_如何学编程ion is used in Android platform? What malloc implementation is used (ptmalloc or tcmalloc or anything other)? libc is Bionic and malloc isDoug Lea version named d[详细]
2022-12-20 00:58 分类:问答Allocating a char buffer with JNA, Rhino, JavaScript
In Narwhal, we are using JNA to make libc calls like getcwd and chdir.I\'ve only been able to use this with my limited knowledge of the JNA interface as it pertains to JavaScript in Rhino, dealing exc[详细]
2022-12-17 18:14 分类:问答Relink a shared library to a different version of libc
I have a linux shared library (.so) compiled with a specific version of libc (GLIBC2.4) 开发者_StackOverflowand I need to use it on a system with different version of libc. I do not have sources for t[详细]
2022-12-16 06:46 分类:问答fgets() function in C
I know everybody has told me to use fgets and not gets because of buffer overflow. However, I am a bit confused about开发者_StackOverflow the third parameter in fgets().As I understand it, fgets is de[详细]
2022-12-15 15:50 分类:问答Where can I browse the sourcecode for libc online (like doxygen)
Sometimes I want to look up the implementations of functions in the stdlib, I\'ve downloaded the sourcecode, but it\'s quite messy.[详细]
2022-12-15 05:44 分类:问答