def glibc_version_string():
 process_namespace = ctypes.CDLL(None)
 try:
  gnu_get_libc_version = process_namespace.gnu_get_libc_version
 except AttributeError:
  return None
 gnu_get_libc_version.restype = ctypes.c_char_p
 version_str = gnu_get_libc_version()
 if (not isinstance(version_str, str)):
  version_str = version_str.decode('ascii')
 return version_str

def glibc_version_string ( ) : process_namespace = ctypes . CDLL ( None ) try : gnu_get_libc_version = process_namespace . gnu_get_libc_version except AttributeError : return None gnu_get_libc_version . restype = ctypes . c_char_p version_str = gnu_get_libc_version ( ) if ( not isinstance ( version_str , str ) ) : version_str = version_str . decode ( 'ascii' ) return version_str
returns glibc version string .