Tor  0.4.6.0-alpha-dev
Functions
libc.h File Reference

Header for lib/osinfo/libc.c. More...

Go to the source code of this file.

Functions

const char * tor_libc_get_name (void)
 
const char * tor_libc_get_version_str (void)
 
const char * tor_libc_get_header_version_str (void)
 

Detailed Description

Header for lib/osinfo/libc.c.

Definition in file libc.h.

Function Documentation

◆ tor_libc_get_header_version_str()

const char* tor_libc_get_header_version_str ( void  )

Return a string representation of the version of Glibc that was used at compilation time.

Definition at line 59 of file libc.c.

◆ tor_libc_get_name()

const char* tor_libc_get_name ( void  )

Return the name of the compile time libc. Returns NULL if we cannot identify the libc.

Definition at line 32 of file libc.c.

◆ tor_libc_get_version_str()

const char* tor_libc_get_version_str ( void  )

Return a string representation of the version of the currently running version of Glibc.

Definition at line 44 of file libc.c.