Torque2D Reference
Public Member Functions | List of all members
UnixUtils Class Reference

#include <x86UNIXUtils.h>

Public Member Functions

 UnixUtils ()
 
virtual ~UnixUtils ()
 
bool inBackground ()
 
const char * getOSName ()
 

Constructor & Destructor Documentation

UnixUtils ( )
~UnixUtils ( )
virtual

Member Function Documentation

const char * getOSName ( )

Returns the name of the OS, as reported by uname.

bool inBackground ( )

Returns true if we're running in the background, false otherwise. There's no "standard" way to determine this in unix, but modern job control unices should support the method described here:

http://www.faqs.org/faqs/unix-faq/faq/part3/

(question 3.7)


The documentation for this class was generated from the following files: