109
When we debug a program using gdb, we usually see functions with strange names defined in libc(glibc?). My questions are:
- Is
libc/glibcthe standard implementation of some standard C/C++ functions likestrcpy,strlen,malloc? - Or, is it not only of the first usage as described above, but also an wrapper of Unix/Linux system calls like
open,close,fctl? If so, why can't we issue syscalls directly, withoutlibc? - Does
libconly consist of one lib (.aor.so) file, or many lib files (in this case,libcis the general name of this set of libs)? Where do these lib file(s) reside? - What is the difference between
libcandglibc?