XrdSysUtils Class Reference
#include <XrdSysUtils.hh>
List of all members.
Constructor & Destructor Documentation
XrdSysUtils::XrdSysUtils |
( |
|
) |
[inline] |
Constructor and destructor.
XrdSysUtils::~XrdSysUtils |
( |
|
) |
[inline] |
Member Function Documentation
static const char* XrdSysUtils::ExecName |
( |
|
) |
[static] |
Get the name of the current executable.
- Returns:
- the full path of the executable invoked.
static int XrdSysUtils::FmtUname |
( |
char * |
buff, |
|
|
int |
blen | |
|
) |
| | [static] |
Format the uname information
- Parameters:
-
| buff | - pointer to the buffer to hold the uname as: <sysname> <release> [<version>] [<machine>] |
| blen | - length of the buffer. |
- Returns:
- the output of snprintf(buff, blen, ...);
static int XrdSysUtils::GetSigNum |
( |
const char * |
sname |
) |
[static] |
Get common signal number.
- Parameters:
-
| sname | - the signal name as in sigxxx or just xxx (see kill). |
- Returns:
- =0 - unknown or unsupported signal.
-
!0 - the corresponding signal number.
static bool XrdSysUtils::SigBlock |
( |
int |
numsig |
) |
[static] |
Block a particular signal. This should be called at program start so that the block applies to all threads.
numsig - The signal value to be blocked.
- Returns:
- true - signal is blocked.
-
false - signal not blocked, errno has teh reason.
static bool XrdSysUtils::SigBlock |
( |
|
) |
[static] |
Block common signals. This must be called at program start.
- Returns:
- true - common signals are blocked.
-
false - common signals not blocked, errno has teh reason.
The documentation for this class was generated from the following file: