Difference between revisions of "GNU C library"
From Teknologisk videncenter
m |
m |
||
Line 1: | Line 1: | ||
+ | =Checking which GNU C Library version= | ||
+ | To check which GCLIB you are using run this program. | ||
+ | <source lang=c> | ||
+ | #include <stdio.h> | ||
+ | #include <gnu/libc-version.h> | ||
+ | int main (void) { | ||
+ | printf("GNU C Library version is %s\n", gnu_get_libc_version ()); | ||
+ | return 0; | ||
+ | } | ||
+ | </source> | ||
=Links= | =Links= | ||
*[https://www.gnu.org/software/libc/manual/pdf/libc.pdf The GNU C Library Reference Manual - GNU.org] (Loads PDF) | *[https://www.gnu.org/software/libc/manual/pdf/libc.pdf The GNU C Library Reference Manual - GNU.org] (Loads PDF) | ||
**[https://www.gnu.org/software/libc/manual/html_node/index.html Same as HTML] | **[https://www.gnu.org/software/libc/manual/html_node/index.html Same as HTML] | ||
[[Category:Linux]][[Category:GNU]] | [[Category:Linux]][[Category:GNU]] |
Revision as of 06:35, 13 December 2018
Checking which GNU C Library version
To check which GCLIB you are using run this program.
#include <stdio.h>
#include <gnu/libc-version.h>
int main (void) {
printf("GNU C Library version is %s\n", gnu_get_libc_version ());
return 0;
}