|
Tor 0.4.9.8
|
Look up a description of the operating system. More...
#include "orconfig.h"#include "lib/osinfo/uname.h"#include "lib/string/compat_string.h"#include "lib/string/printf.h"#include <string.h>Go to the source code of this file.
Functions | |
| const char * | get_uname (void) |
Variables | |
| static char | uname_result [256] |
| static int | uname_result_is_set = 0 |
Look up a description of the operating system.
Definition in file uname.c.
| const char * get_uname | ( | void | ) |
Return a pointer to a description of our platform.
Definition at line 67 of file uname.c.
Referenced by get_platform_str(), options_init_from_torrc(), options_validate_relay_os(), and tor_init().
|
static |
Hold the result of our call to uname.
Definition at line 26 of file uname.c.
Referenced by get_uname().
|
static |