how 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; 
}

猜你喜欢

转载自blog.csdn.net/lantianjialiang/article/details/81187309