libc
How does libc work?
I\'m writing a MIPS32 emulator and would like to make it possible to use the whole Standard C Library (maybe with the GNU extensions) when compiling C programs with gcc.[详细]
2023-03-03 07:25 分类:问答Adding new function to libc
How can I add a new libc function and also call it from C programs? The new function is a not a wrappe开发者_如何学Gor to any kernel level system calls. Its function will be done in user space.Put it[详细]
2023-03-02 12:50 分类:问答Why are many system calls (getpid) captured only once using strace?
I invoked getpid() in a program for many times (to test the efficiency of system calls), however when I use strace to get the trace, only one getpid() call is captured.[详细]
2023-02-28 20:32 分类:问答What's the difference between exit and _exit both in libc.so?
(gdb) info symbol exit exit in sec开发者_运维问答tion .text of /lib64/libc.so.6 (gdb) info symbol _exit[详细]
2023-02-22 10:53 分类:问答Is the term "libc" equivalent to "C standard library"?
I sometimes hear people using the terms \"libc\" and \"C standard library\" interchangeably. I understand that \"libc\" is the name (or part of the names) of many popular C standard library implementa[详细]
2023-02-21 20:47 分类:问答Where can get libc_p.so source code?
I\'d like to profiling my owned process in target hardware, I only can check the source code as libc.so since there is no libc_p.so available for my开发者_开发百科 MIPS target hardware.[详细]
2023-02-19 11:18 分类:问答Where are strings returned from functions in libc allocated?
I started some socket programming, and I ran across the function inet_ntoa . The function has the prototype char * inet_ntoa(struct in_addr in);.[详细]
2023-02-16 23:32 分类:问答gets() function and '\0' zero byte in input
Will开发者_StackOverflow中文版 the gets()function from C language (e.g. from glibc) stop, if it reads a zero byte (\'\\0\') from the file ?[详细]
2023-02-12 04:17 分类:问答How to sleep for a few microseconds
Consider the following code: #include <stdio.h> #include <time.h> #include <math.h> // Compile with gcc -lrt -lm -o test_clock test_clock.c[详细]
2023-02-10 11:39 分类:问答Small libc for embedded systems [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-02-09 14:54 分类:问答