天天看點

how to get libc versionhow to get libc version

how to get libc version

$ ldd –version

ldd (GNU libc) 2.17

or

#include <stdio.h>
#include <gnu/libc-version.h>
int main (void) { 
    puts (gnu_get_libc_version ()); 
    return 0; 
}