Lines Matching refs:libc
1 // Compare given libc name and version number to system name and version.
4 // - 0 if the libc name matches is at least the minimum version (if given).
5 // - 1 if the libc name doesn't match or the version is lower than requested.
6 // - 2 if the requested libc name isn't recognised.
14 #include <gnu/libc-version.h>
49 static Bool go(char* libc, char *min_version)
52 if ( 0 == strcmp( libc, "glibc" )
66 fprintf( stderr, "usage: libc_test <libc-name> [<min-version>]\n" );
74 return 1; // Requested libc name known, but this isn't it.
77 return 2; // Didn't match any known libc name.