![]() |
XRootD
|
#include <XrdSysUtils.hh>
Public Member Functions | |
XrdSysUtils () | |
Constructor and destructor. | |
~XrdSysUtils () | |
Static Public Member Functions | |
static const char * | ExecName () |
static int | FmtUname (char *buff, int blen) |
static int | GetSigNum (const char *sname) |
static bool | SigBlock () |
static bool | SigBlock (int numsig) |
Definition at line 36 of file XrdSysUtils.hh.
|
inline |
|
inline |
Definition at line 97 of file XrdSysUtils.hh.
|
static |
Get the name of the current executable.
Definition at line 60 of file XrdSysUtils.cc.
Referenced by XrdCl::DefaultEnv::GetMonitor().
|
static |
Format the uname information
buff | - pointer to the buffer to hold the uname as: <sysname> <release> [<version>] [<machine>] |
blen | - length of the buffer. |
Definition at line 117 of file XrdSysUtils.cc.
Referenced by XrdConfig::Configure().
|
static |
Get common signal number.
sname | - the signal name as in sigxxx or just xxx (see kill). |
Definition at line 165 of file XrdSysUtils.cc.
Referenced by XrdSysLogger::ParseKeep().
|
static |
Block common signals. This must be called at program start.
Definition at line 188 of file XrdSysUtils.cc.
Referenced by XrdSysLogger::Bind(), and main().
|
static |
Block a particular signal. This should be called at program start so that the block applies to all threads.
@aparam numsig - The signal value to be blocked.
Definition at line 221 of file XrdSysUtils.cc.