Stun Server  Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
getconsolewidth.cpp File Reference
#include "commonincludes.hpp"
#include "oshelper.h"
#include <sys/ioctl.h>
Include dependency graph for getconsolewidth.cpp:

Go to the source code of this file.

Functions

static size_t GetConsoleWidthUnix ()
 
size_t GetConsoleWidth ()
 

Variables

const size_t DEFAULT_CONSOLE_WIDTH = 80
 

Function Documentation

size_t GetConsoleWidth ( )

Definition at line 41 of file getconsolewidth.cpp.

static size_t GetConsoleWidthUnix ( )
static

Definition at line 27 of file getconsolewidth.cpp.

Variable Documentation

const size_t DEFAULT_CONSOLE_WIDTH = 80

Definition at line 25 of file getconsolewidth.cpp.