|
Torque2D Reference
|
#include <x86UNIXUtils.h>
Public Member Functions | |
| UnixUtils () | |
| virtual | ~UnixUtils () |
| bool | inBackground () |
| const char * | getOSName () |
| UnixUtils | ( | ) |
|
virtual |
| 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)
1.8.10