Tor  0.4.6.0-alpha-dev
osinfo Directory Reference

lib/osinfo: For inspecting the OS version and capabilities.

More...

Files

file  libc.c [code]
 Functions to get the name and version of the system libc.
 
file  libc.h [code]
 Header for lib/osinfo/libc.c.
 
file  uname.c [code]
 Look up a description of the operating system.
 
file  uname.h [code]
 Header for uname.c.
 

Detailed Description

lib/osinfo: For inspecting the OS version and capabilities.

In general, we use this module when we're telling the user what operating system they are running. We shouldn't make decisions based on the output of these checks: instead, we should have more specific checks, either at compile time or run time, based on the observed system behavior.