Logo ROOT  
Reference Guide
TSystem.h
Go to the documentation of this file.
1 // @(#)root/base:$Id$
2 // Author: Fons Rademakers 15/09/95
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TSystem
13 #define ROOT_TSystem
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TSystem //
19 // //
20 // Abstract base class defining a generic interface to the underlying //
21 // Operating System. //
22 // //
23 //////////////////////////////////////////////////////////////////////////
24 
25 #ifndef __CINT__
26 #include <cstdio>
27 #include <cctype>
28 #include <fcntl.h>
29 #ifndef _WIN32
30 #include <unistd.h>
31 #endif
32 #endif
33 
34 #include "TNamed.h"
35 #include "TInetAddress.h"
36 #include "TTimer.h"
37 #include <string>
38 
39 class TSeqCollection;
40 class TFdSet;
41 class TVirtualMutex;
42 
48 };
49 
50 enum ELogOption {
51  kLogPid = 0x01,
52  kLogCons = 0x02
53 };
54 
55 enum ELogLevel {
56  kLogEmerg = 0,
57  kLogAlert = 1,
58  kLogCrit = 2,
59  kLogErr = 3,
62  kLogInfo = 6,
64 };
65 
75 };
76 
77 enum EFpeMask {
78  kNoneMask = 0x00,
79  kInvalid = 0x01, // Invalid argument
80  kDivByZero = 0x02, // Division by zero
81  kOverflow = 0x04, // Overflow
82  kUnderflow = 0x08, // Underflow
83  kInexact = 0x10, // Inexact
84  kDefaultMask = 0x07,
85  kAllMask = 0x1F
86 };
87 
89  kS_IFMT = 0170000, // bitmask for the file type bitfields
90  kS_IFSOCK = 0140000, // socket
91  kS_IFLNK = 0120000, // symbolic link
92  kS_IFOFF = 0110000, // offline file
93  kS_IFREG = 0100000, // regular file
94  kS_IFBLK = 0060000, // block device
95  kS_IFDIR = 0040000, // directory
96  kS_IFCHR = 0020000, // character device
97  kS_IFIFO = 0010000, // fifo
98  kS_ISUID = 0004000, // set UID bit
99  kS_ISGID = 0002000, // set GID bit
100  kS_ISVTX = 0001000, // sticky bit
101  kS_IRWXU = 00700, // mask for file owner permissions
102  kS_IRUSR = 00400, // owner has read permission
103  kS_IWUSR = 00200, // owner has write permission
104  kS_IXUSR = 00100, // owner has execute permission
105  kS_IRWXG = 00070, // mask for group permissions
106  kS_IRGRP = 00040, // group has read permission
107  kS_IWGRP = 00020, // group has write permission
108  kS_IXGRP = 00010, // group has execute permission
109  kS_IRWXO = 00007, // mask for permissions for others (not in group)
110  kS_IROTH = 00004, // others have read permission
111  kS_IWOTH = 00002, // others have write permission
112  kS_IXOTH = 00001 // others have execute permission
113 };
114 
115 inline Bool_t R_ISDIR(Int_t mode) { return ((mode & kS_IFMT) == kS_IFDIR); }
116 inline Bool_t R_ISCHR(Int_t mode) { return ((mode & kS_IFMT) == kS_IFCHR); }
117 inline Bool_t R_ISBLK(Int_t mode) { return ((mode & kS_IFMT) == kS_IFBLK); }
118 inline Bool_t R_ISREG(Int_t mode) { return ((mode & kS_IFMT) == kS_IFREG); }
119 inline Bool_t R_ISLNK(Int_t mode) { return ((mode & kS_IFMT) == kS_IFLNK); }
120 inline Bool_t R_ISFIFO(Int_t mode) { return ((mode & kS_IFMT) == kS_IFIFO); }
121 inline Bool_t R_ISSOCK(Int_t mode) { return ((mode & kS_IFMT) == kS_IFSOCK); }
122 inline Bool_t R_ISOFF(Int_t mode) { return ((mode & kS_IFMT) == kS_IFOFF); }
123 
124 struct FileStat_t {
125  Long_t fDev; // device id
126  Long_t fIno; // inode
127  Int_t fMode; // protection (combination of EFileModeMask bits)
128  Int_t fUid; // user id of owner
129  Int_t fGid; // group id of owner
130  Long64_t fSize; // total size in bytes
131  Long_t fMtime; // modification date
132  Bool_t fIsLink; // symbolic link
133  TString fUrl; // end point url of file
134  FileStat_t() : fDev(0), fIno(0), fMode(0), fUid(0), fGid(0), fSize(0),
135  fMtime(0), fIsLink(kFALSE), fUrl("") { }
136 };
137 
138 struct UserGroup_t {
139  Int_t fUid; // user id
140  Int_t fGid; // group id
141  TString fUser; // user name
142  TString fGroup; // group name
143  TString fPasswd; // password
144  TString fRealName; // user full name
145  TString fShell; // user preferred shell
146  UserGroup_t() : fUid(0), fGid(0), fUser(), fGroup(), fPasswd(),
147  fRealName (), fShell() { }
148 };
149 
150 struct SysInfo_t {
151  TString fOS; // OS
152  TString fModel; // computer model
153  TString fCpuType; // type of cpu
154  Int_t fCpus; // number of cpus
155  Int_t fCpuSpeed; // cpu speed in MHz
156  Int_t fBusSpeed; // bus speed in MHz
157  Int_t fL2Cache; // level 2 cache size in KB
158  Int_t fPhysRam; // physical RAM in MB
160  fBusSpeed(0), fL2Cache(0), fPhysRam(0) { }
161  virtual ~SysInfo_t() { }
162  ClassDef(SysInfo_t, 1); // System information - OS, CPU, RAM.
163 };
164 
165 struct CpuInfo_t {
166  Float_t fLoad1m; // cpu load average over 1 m
167  Float_t fLoad5m; // cpu load average over 5 m
168  Float_t fLoad15m; // cpu load average over 15 m
169  Float_t fUser; // cpu user load in percentage
170  Float_t fSys; // cpu sys load in percentage
171  Float_t fTotal; // cpu user+sys load in percentage
172  Float_t fIdle; // cpu idle percentage
174  fUser(0), fSys(0), fTotal(0), fIdle(0) { }
175  virtual ~CpuInfo_t() { }
176  ClassDef(CpuInfo_t, 1); // CPU load information.
177 };
178 
179 struct MemInfo_t {
180  Int_t fMemTotal; // total RAM in MB
181  Int_t fMemUsed; // used RAM in MB
182  Int_t fMemFree; // free RAM in MB
183  Int_t fSwapTotal; // total swap in MB
184  Int_t fSwapUsed; // used swap in MB
185  Int_t fSwapFree; // free swap in MB
187  fSwapTotal(0), fSwapUsed(0), fSwapFree(0) { }
188  virtual ~MemInfo_t() { }
189  ClassDef(MemInfo_t, 1); // Memory utilization information.
190 };
191 
192 struct ProcInfo_t {
193  Float_t fCpuUser; // user time used by this process in seconds
194  Float_t fCpuSys; // system time used by this process in seconds
195  Long_t fMemResident; // resident memory used by this process in KB
196  Long_t fMemVirtual; // virtual memory used by this process in KB
198  fMemVirtual(0) { }
199  virtual ~ProcInfo_t();
200  ClassDef(ProcInfo_t, 1);// System resource usage of given process.
201 };
202 
204  TString fFile; // File where the output was redirected
205  TString fStdOutTty; // tty associated with stdout, if any (e.g. from ttyname(...))
206  TString fStdErrTty; // tty associated with stderr, if any (e.g. from ttyname(...))
207  Int_t fStdOutDup{-1}; // Duplicated descriptor for stdout
208  Int_t fStdErrDup{-1}; // Duplicated descriptor for stderr
209  Int_t fReadOffSet{-1}; // Offset where to start reading the file (used by ShowOutput(...))
210  RedirectHandle_t(const char *n = nullptr) : fFile(n) { }
211  void Reset() { fFile = ""; fStdOutTty = ""; fStdErrTty = "";
212  fStdOutDup = -1; fStdErrDup = -1; fReadOffSet = -1; }
213 };
214 
216  kSendBuffer, // size of send buffer
217  kRecvBuffer, // size of receive buffer
218  kOobInline, // OOB message inline
219  kKeepAlive, // keep socket alive
220  kReuseAddr, // allow reuse of local portion of address 5-tuple
221  kNoDelay, // send without delay
222  kNoBlock, // non-blocking I/O
223  kProcessGroup, // socket process group (used for SIGURG and SIGIO)
224  kAtMark, // are we at out-of-band mark (read only)
225  kBytesToRead // get number of bytes to read, FIONREAD (read only)
226 };
227 
229  kDefault, // default option (= 0)
230  kOob, // send or receive out-of-band data
231  kPeek, // peek at incoming message (receive only)
232  kDontBlock // send/recv as much data as possible without blocking
233 };
234 
235 #ifdef __CINT__
236 typedef void *Func_t;
237 #else
238 typedef void ((*Func_t)());
239 #endif
240 
241 R__EXTERN const char *gRootDir;
242 R__EXTERN const char *gProgName;
243 R__EXTERN const char *gProgPath;
245 
246 
247 //////////////////////////////////////////////////////////////////////////
248 // //
249 // Asynchronous timer used for processing pending GUI and timer events //
250 // every delay ms. Call in a tight computing loop //
251 // TProcessEventTimer::ProcessEvent(). If the timer did timeout this //
252 // call will process the pending events and return kTRUE if the //
253 // TROOT::IsInterrupted() flag is set (can be done by hitting key in //
254 // canvas or selecting canvas menu item View/Interrupt. //
255 // //
256 //////////////////////////////////////////////////////////////////////////
257 class TProcessEventTimer : public TTimer {
258 public:
259  TProcessEventTimer(Long_t delay);
260  Bool_t Notify() { return kTRUE; }
262  ClassDef(TProcessEventTimer,0) // Process pending events at fixed time intervals
263 };
264 
265 
266 class TSystem : public TNamed {
267 
268 public:
271  kFlatBuildDir = BIT(0) // If set and a BuildDir is selected, then do not created sub-directories
272  };
273 
274 protected:
275  TFdSet *fReadmask{nullptr}; //!Files that should be checked for read events
276  TFdSet *fWritemask{nullptr}; //!Files that should be checked for write events
277  TFdSet *fReadready{nullptr}; //!Files with reads waiting
278  TFdSet *fWriteready{nullptr}; //!Files with writes waiting
279  TFdSet *fSignals{nullptr}; //!Signals that were trapped
280  Int_t fNfd{0}; //Number of fd's in masks
281  Int_t fMaxrfd{-1}; //Largest fd in read mask
282  Int_t fMaxwfd{-1}; //Largest fd in write mask
283  Int_t fSigcnt{0}; //Number of pending signals
284  TString fWdpath; //Working directory
285  TString fHostname; //Hostname
286  Bool_t fInsideNotify{kFALSE}; //Used by DispatchTimers()
287  Int_t fBeepFreq{0}; //Used by Beep()
288  Int_t fBeepDuration{0}; //Used by Beep()
289 
290  Bool_t fInControl{kFALSE}; //True if in eventloop
291  Bool_t fDone{kFALSE}; //True if eventloop should be finished
292  Int_t fLevel{0}; //Level of nested eventloops
293 
294  TSeqCollection *fTimers{nullptr}; //List of timers
295  TSeqCollection *fSignalHandler{nullptr}; //List of signal handlers
296  TSeqCollection *fFileHandler{nullptr}; //List of file handlers
297  TSeqCollection *fStdExceptionHandler{nullptr}; //List of std::exception handlers
298  TSeqCollection *fOnExitList{nullptr}; //List of items to be cleaned-up on exit
299 
300  TString fListLibs; //List shared libraries, cache used by GetLibraries
301 
302  TString fBuildArch; //Architecture for which ROOT was built (passed to ./configure)
303  TString fBuildCompiler; //Compiler used to build this ROOT
304  TString fBuildCompilerVersion; //Compiler version used to build this ROOT
305  TString fBuildCompilerVersionStr; //Compiler version identifier string used to build this ROOT
306  TString fBuildNode; //Detailed information where ROOT was built
307  TString fBuildDir; //Location where to build ACLiC shared library and use as scratch area.
308  TString fFlagsDebug; //Flags for debug compilation
309  TString fFlagsOpt; //Flags for optimized compilation
310  TString fListPaths; //List of all include (fIncludePath + interpreter include path). Cache used by GetIncludePath
311  TString fIncludePath; //Used to expand $IncludePath in the directives given to SetMakeSharedLib and SetMakeExe
312  TString fLinkedLibs; //Used to expand $LinkedLibs in the directives given to SetMakeSharedLib and SetMakeExe
313  TString fSoExt; //Extension of shared library (.so, .sl, .a, .dll, etc.)
314  TString fObjExt; //Extension of object files (.o, .obj, etc.)
315  EAclicMode fAclicMode{kDefault}; //Whether the compilation should be done debug or opt
316  TString fMakeSharedLib; //Directive used to build a shared library
317  TString fMakeExe; //Directive used to build an executable
318  TString fLinkdefSuffix; //Default suffix for linkdef files to be used by ACLiC (see EACLiCProperties)
319  Int_t fAclicProperties{0}; //Various boolean flag for change ACLiC's behavior.
320  TSeqCollection *fCompiled{nullptr}; //List of shared libs from compiled macros to be deleted
321  TSeqCollection *fHelpers{nullptr}; //List of helper classes for alternative file/directory access
322 
323  TString &GetLastErrorString(); //Last system error message (thread local).
324  const TString &GetLastErrorString() const; //Last system error message (thread local).
325 
326  TSystem *FindHelper(const char *path, void *dirptr = nullptr);
327  virtual Bool_t ConsistentWith(const char *path, void *dirptr = nullptr);
328  virtual const char *ExpandFileName(const char *fname);
329  virtual Bool_t ExpandFileName(TString &fname);
331  virtual const char *GetLinkedLibraries();
332  virtual void DoBeep(Int_t /*freq*/=-1, Int_t /*duration*/=-1) const { printf("\a"); fflush(stdout); }
333 
334  static const char *StripOffProto(const char *path, const char *proto);
335 
336 private:
337  TSystem(const TSystem&) = delete; // not implemented
338  TSystem& operator=(const TSystem&) = delete; // not implemented
339  Bool_t ExpandFileName(const char *fname, char *xname, const int kBufSize);
340 
341 public:
342  TSystem(const char *name = "Generic", const char *title = "Generic System");
343  virtual ~TSystem();
344 
345  //---- Misc
346  virtual Bool_t Init();
347  virtual void SetProgname(const char *name);
348  virtual void SetDisplay();
349  void SetErrorStr(const char *errstr);
350  const char *GetErrorStr() const { return GetLastErrorString(); }
351  virtual const char *GetError();
352  void RemoveOnExit(TObject *obj);
353  virtual const char *HostName();
354  virtual void NotifyApplicationCreated();
355 
356  static Int_t GetErrno();
357  static void ResetErrno();
358  void Beep(Int_t freq=-1, Int_t duration=-1, Bool_t setDefault=kFALSE);
359  void GetBeepDefaults(Int_t &freq, Int_t &duration) const { freq = fBeepFreq; duration = fBeepDuration; }
360 
361  //---- EventLoop
362  virtual void Run();
363  virtual Bool_t ProcessEvents();
364  virtual void DispatchOneEvent(Bool_t pendingOnly = kFALSE);
365  virtual void ExitLoop();
366  Bool_t InControl() const { return fInControl; }
367  virtual void InnerLoop();
368  virtual Int_t Select(TList *active, Long_t timeout);
369  virtual Int_t Select(TFileHandler *fh, Long_t timeout);
370 
371  //---- Handling of system events
372  virtual void AddSignalHandler(TSignalHandler *sh);
374  virtual void ResetSignal(ESignals sig, Bool_t reset = kTRUE);
375  virtual void ResetSignals();
376  virtual void IgnoreSignal(ESignals sig, Bool_t ignore = kTRUE);
377  virtual void IgnoreInterrupt(Bool_t ignore = kTRUE);
379  virtual void AddFileHandler(TFileHandler *fh);
381  virtual TSeqCollection *GetListOfFileHandlers() const { return fFileHandler; }
385 
386  //---- Floating Point Exceptions Control
387  virtual Int_t GetFPEMask();
388  virtual Int_t SetFPEMask(Int_t mask = kDefaultMask);
389 
390  //---- Time & Date
391  virtual TTime Now();
392  virtual TSeqCollection *GetListOfTimers() const { return fTimers; }
393  virtual void AddTimer(TTimer *t);
394  virtual TTimer *RemoveTimer(TTimer *t);
395  virtual void ResetTimer(TTimer *) { }
396  virtual Long_t NextTimeOut(Bool_t mode);
397  virtual void Sleep(UInt_t milliSec);
398 
399  //---- Processes
400  virtual Int_t Exec(const char *shellcmd);
401  virtual FILE *OpenPipe(const char *command, const char *mode);
402  virtual int ClosePipe(FILE *pipe);
403  virtual TString GetFromPipe(const char *command);
404  virtual void Exit(int code, Bool_t mode = kTRUE);
405  virtual void Abort(int code = 0);
406  virtual int GetPid();
407  virtual void StackTrace();
408 
409  //---- Directories
410  virtual int MakeDirectory(const char *name);
411  virtual void *OpenDirectory(const char *name);
412  virtual void FreeDirectory(void *dirp);
413  virtual const char *GetDirEntry(void *dirp);
414  virtual void *GetDirPtr() const { return nullptr; }
415  virtual Bool_t ChangeDirectory(const char *path);
416  virtual const char *WorkingDirectory();
417  virtual std::string GetWorkingDirectory() const;
418  virtual const char *HomeDirectory(const char *userName = nullptr);
419  virtual std::string GetHomeDirectory(const char *userName = nullptr) const;
420  virtual int mkdir(const char *name, Bool_t recursive = kFALSE);
421  Bool_t cd(const char *path) { return ChangeDirectory(path); }
422  const char *pwd() { return WorkingDirectory(); }
423  virtual const char *TempDirectory() const;
424  virtual FILE *TempFileName(TString &base, const char *dir = nullptr);
425 
426  //---- Paths & Files
427  virtual const char *BaseName(const char *pathname);
428  virtual const char *DirName(const char *pathname);
429  virtual TString GetDirName(const char *pathname);
430  virtual char *ConcatFileName(const char *dir, const char *name);
431  virtual Bool_t IsAbsoluteFileName(const char *dir);
432  virtual Bool_t IsFileInIncludePath(const char *name, char **fullpath = nullptr);
433  virtual const char *PrependPathName(const char *dir, TString& name);
434  virtual Bool_t ExpandPathName(TString &path);
435  virtual char *ExpandPathName(const char *path);
436  virtual Bool_t AccessPathName(const char *path, EAccessMode mode = kFileExists);
437  virtual Bool_t IsPathLocal(const char *path);
438  virtual int CopyFile(const char *from, const char *to, Bool_t overwrite = kFALSE);
439  virtual int Rename(const char *from, const char *to);
440  virtual int Link(const char *from, const char *to);
441  virtual int Symlink(const char *from, const char *to);
442  virtual int Unlink(const char *name);
443  int GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
444  int GetPathInfo(const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);
445  virtual int GetPathInfo(const char *path, FileStat_t &buf);
446  virtual int GetFsInfo(const char *path, Long_t *id, Long_t *bsize, Long_t *blocks, Long_t *bfree);
447  virtual int Chmod(const char *file, UInt_t mode);
448  virtual int Umask(Int_t mask);
449  virtual int Utime(const char *file, Long_t modtime, Long_t actime);
450  virtual const char *UnixPathName(const char *unixpathname);
451  virtual const char *FindFile(const char *search, TString& file, EAccessMode mode = kFileExists);
452  virtual char *Which(const char *search, const char *file, EAccessMode mode = kFileExists);
453  virtual TList *GetVolumes(Option_t *) const { return 0; }
454 
455  //---- Users & Groups
456  virtual Int_t GetUid(const char *user = nullptr);
457  virtual Int_t GetGid(const char *group = nullptr);
458  virtual Int_t GetEffectiveUid();
459  virtual Int_t GetEffectiveGid();
460  virtual UserGroup_t *GetUserInfo(Int_t uid);
461  virtual UserGroup_t *GetUserInfo(const char *user = nullptr);
462  virtual UserGroup_t *GetGroupInfo(Int_t gid);
463  virtual UserGroup_t *GetGroupInfo(const char *group = nullptr);
464 
465  //---- Environment Manipulation
466  virtual void Setenv(const char *name, const char *value);
467  virtual void Unsetenv(const char *name);
468  virtual const char *Getenv(const char *env);
469 
470  //---- System Logging
471  virtual void Openlog(const char *name, Int_t options, ELogFacility facility);
472  virtual void Syslog(ELogLevel level, const char *mess);
473  virtual void Closelog();
474 
475  //---- Standard Output redirection
476  virtual Int_t RedirectOutput(const char *name, const char *mode = "a", RedirectHandle_t *h = nullptr);
477  virtual void ShowOutput(RedirectHandle_t *h);
478 
479  //---- Dynamic Loading
480  virtual void AddDynamicPath(const char *pathname);
481  virtual const char *GetDynamicPath();
482  virtual void SetDynamicPath(const char *pathname);
483  char *DynamicPathName(const char *lib, Bool_t quiet = kFALSE);
484  virtual const char *FindDynamicLibrary(TString& lib, Bool_t quiet = kFALSE);
485  virtual Func_t DynFindSymbol(const char *module, const char *entry);
486  virtual int Load(const char *module, const char *entry = "", Bool_t system = kFALSE);
487  virtual void Unload(const char *module);
488  virtual UInt_t LoadAllLibraries();
489  virtual void ListSymbols(const char *module, const char *re = "");
490  virtual void ListLibraries(const char *regexp = "");
491  virtual const char *GetLibraries(const char *regexp = "",
492  const char *option = "",
493  Bool_t isRegexp = kTRUE);
494 
495  //---- RPC
496  virtual TInetAddress GetHostByName(const char *server);
497  virtual TInetAddress GetPeerName(int sock);
498  virtual TInetAddress GetSockName(int sock);
499  virtual int GetServiceByName(const char *service);
500  virtual char *GetServiceByPort(int port);
501  virtual int OpenConnection(const char *server, int port, int tcpwindowsize = -1, const char *protocol = "tcp");
502  virtual int AnnounceTcpService(int port, Bool_t reuse, int backlog, int tcpwindowsize = -1);
503  virtual int AnnounceUdpService(int port, int backlog);
504  virtual int AnnounceUnixService(int port, int backlog);
505  virtual int AnnounceUnixService(const char *sockpath, int backlog);
506  virtual int AcceptConnection(int sock);
507  virtual void CloseConnection(int sock, Bool_t force = kFALSE);
508  virtual int RecvRaw(int sock, void *buffer, int length, int flag);
509  virtual int SendRaw(int sock, const void *buffer, int length, int flag);
510  virtual int RecvBuf(int sock, void *buffer, int length);
511  virtual int SendBuf(int sock, const void *buffer, int length);
512  virtual int SetSockOpt(int sock, int kind, int val);
513  virtual int GetSockOpt(int sock, int kind, int *val);
514 
515  //---- System, CPU and Memory info
516  virtual int GetSysInfo(SysInfo_t *info) const;
517  virtual int GetCpuInfo(CpuInfo_t *info, Int_t sampleTime = 1000) const;
518  virtual int GetMemInfo(MemInfo_t *info) const;
519  virtual int GetProcInfo(ProcInfo_t *info) const;
520 
521  //---- ACLiC (Automatic Compiler of Shared Library for CINT)
522  virtual void AddIncludePath(const char *includePath);
523  virtual void AddLinkedLibs(const char *linkedLib);
524  virtual int CompileMacro(const char *filename, Option_t *opt = "", const char *library_name = "", const char *build_dir = "", UInt_t dirmode = 0);
525  virtual Int_t GetAclicProperties() const;
526  virtual const char *GetBuildArch() const;
527  virtual const char *GetBuildCompiler() const;
528  virtual const char *GetBuildCompilerVersion() const;
529  virtual const char *GetBuildCompilerVersionStr() const;
530  virtual const char *GetBuildNode() const;
531  virtual const char *GetBuildDir() const;
532  virtual const char *GetFlagsDebug() const;
533  virtual const char *GetFlagsOpt() const;
534  virtual const char *GetIncludePath();
535  virtual const char *GetLinkedLibs() const;
536  virtual const char *GetLinkdefSuffix() const;
537  virtual EAclicMode GetAclicMode() const;
538  virtual const char *GetMakeExe() const;
539  virtual const char *GetMakeSharedLib() const;
540  virtual const char *GetSoExt() const;
541  virtual const char *GetObjExt() const;
542  virtual void SetBuildDir(const char* build_dir, Bool_t isflat = kFALSE);
543  virtual void SetFlagsDebug(const char *);
544  virtual void SetFlagsOpt(const char *);
545  virtual void SetIncludePath(const char *includePath);
546  virtual void SetMakeExe(const char *directives);
547  virtual void SetAclicMode(EAclicMode mode);
548  virtual void SetMakeSharedLib(const char *directives);
549  virtual void SetLinkedLibs(const char *linkedLibs);
550  virtual void SetLinkdefSuffix(const char *suffix);
551  virtual void SetSoExt(const char *soExt);
552  virtual void SetObjExt(const char *objExt);
553  virtual TString SplitAclicMode(const char *filename, TString &mode, TString &args, TString &io) const;
554  virtual void CleanCompiledMacros();
555 
556  ClassDef(TSystem,0) //ABC defining a generic interface to the OS
557 };
558 
560 R__EXTERN TFileHandler *gXDisplay; // Display server (X11) input event handler
561 
562 
563 #endif
TSystem::fObjExt
TString fObjExt
Definition: TSystem.h:314
TSystem::fWriteready
TFdSet * fWriteready
Files with reads waiting.
Definition: TSystem.h:278
TSystem::GetHomeDirectory
virtual std::string GetHomeDirectory(const char *userName=nullptr) const
Return the user's home directory.
Definition: TSystem.cxx:894
SysInfo_t::~SysInfo_t
virtual ~SysInfo_t()
Definition: TSystem.h:161
TSystem::GetLastErrorString
TString & GetLastErrorString()
Return the thread local storage for the custom last error message.
Definition: TSystem.cxx:2105
TSystem::Link
virtual int Link(const char *from, const char *to)
Create a link from file1 to file2.
Definition: TSystem.cxx:1357
TSystem::FindFile
virtual const char * FindFile(const char *search, TString &file, EAccessMode mode=kFileExists)
Find location of file in a search path.
Definition: TSystem.cxx:1534
TSystem::Unlink
virtual int Unlink(const char *name)
Unlink, i.e.
Definition: TSystem.cxx:1379
n
const Int_t n
Definition: legend1.C:16
TSystem::GetPathInfo
int GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime)
Get info about a file: id, size, flags, modification time.
Definition: TSystem.cxx:1396
kNoDelay
@ kNoDelay
Definition: TSystem.h:221
kLogNotice
@ kLogNotice
Definition: TSystem.h:61
RedirectHandle_t::Reset
void Reset()
Definition: TSystem.h:211
kLogPid
@ kLogPid
Definition: TSystem.h:51
TSystem::ExpandFileName
virtual const char * ExpandFileName(const char *fname)
Expand a pathname getting rid of special shell characters like ~.
Definition: TSystem.cxx:1096
TSystem::RemoveOnExit
void RemoveOnExit(TObject *obj)
Objects that should be deleted on exit of the OS interface.
Definition: TSystem.cxx:293
CpuInfo_t::~CpuInfo_t
virtual ~CpuInfo_t()
Definition: TSystem.h:175
TSystem::GetBuildNode
virtual const char * GetBuildNode() const
Return the build node name.
Definition: TSystem.cxx:3920
UserGroup_t::UserGroup_t
UserGroup_t()
Definition: TSystem.h:146
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
kS_IFBLK
@ kS_IFBLK
Definition: TSystem.h:94
R_ISSOCK
Bool_t R_ISSOCK(Int_t mode)
Definition: TSystem.h:121
FileStat_t::fUrl
TString fUrl
Definition: TSystem.h:133
TSystem::InControl
Bool_t InControl() const
Definition: TSystem.h:366
TSystem::fNfd
Int_t fNfd
Signals that were trapped.
Definition: TSystem.h:280
TSystem::kOpt
@ kOpt
Definition: TSystem.h:269
TSystem::cd
Bool_t cd(const char *path)
Definition: TSystem.h:421
TSystem::Setenv
virtual void Setenv(const char *name, const char *value)
Set environment variable.
Definition: TSystem.cxx:1645
TSystem::GetDirPtr
virtual void * GetDirPtr() const
Definition: TSystem.h:414
kS_ISVTX
@ kS_ISVTX
Definition: TSystem.h:100
CpuInfo_t::fLoad15m
Float_t fLoad15m
Definition: TSystem.h:168
TSystem::GetAclicProperties
virtual Int_t GetAclicProperties() const
Return the ACLiC properties field.
Definition: TSystem.cxx:3880
kOobInline
@ kOobInline
Definition: TSystem.h:218
TSystem::ExitLoop
virtual void ExitLoop()
Exit from event loop.
Definition: TSystem.cxx:393
UserGroup_t::fUser
TString fUser
Definition: TSystem.h:141
TSystem::ShowOutput
virtual void ShowOutput(RedirectHandle_t *h)
Display the content associated with the redirection described by the opaque handle 'h'.
Definition: TSystem.cxx:1721
TSystem::ChangeDirectory
virtual Bool_t ChangeDirectory(const char *path)
Change directory.
Definition: TSystem.cxx:861
ProcInfo_t
Definition: TSystem.h:192
TSystem::SetSoExt
virtual void SetSoExt(const char *soExt)
Set shared library extension, should be either .so, .sl, .a, .dll, etc.
Definition: TSystem.cxx:4245
R_ISLNK
Bool_t R_ISLNK(Int_t mode)
Definition: TSystem.h:119
TSystem::GetBuildDir
virtual const char * GetBuildDir() const
Return the path of the build directory.
Definition: TSystem.cxx:3928
TSystem::SetBuildDir
virtual void SetBuildDir(const char *build_dir, Bool_t isflat=kFALSE)
Set the location where ACLiC will create libraries and use as a scratch area.
Definition: TSystem.cxx:4052
CpuInfo_t::fSys
Float_t fSys
Definition: TSystem.h:170
kLogLocal2
@ kLogLocal2
Definition: TSystem.h:69
TSystem::BaseName
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
Definition: TSystem.cxx:933
kDivByZero
@ kDivByZero
Definition: TSystem.h:80
TSystem::FindDynamicLibrary
virtual const char * FindDynamicLibrary(TString &lib, Bool_t quiet=kFALSE)
Find a dynamic library using the system search paths.
Definition: TSystem.cxx:2029
MemInfo_t::fMemFree
Int_t fMemFree
Definition: TSystem.h:182
TSystem::fFlagsOpt
TString fFlagsOpt
Definition: TSystem.h:309
kS_IROTH
@ kS_IROTH
Definition: TSystem.h:110
kKeepAlive
@ kKeepAlive
Definition: TSystem.h:219
TSystem::RemoveTimer
virtual TTimer * RemoveTimer(TTimer *t)
Remove timer from list of system timers.
Definition: TSystem.cxx:482
TSystem::FreeDirectory
virtual void FreeDirectory(void *dirp)
Free a directory.
Definition: TSystem.cxx:844
TSystem::fTimers
TSeqCollection * fTimers
Definition: TSystem.h:294
TSystem::IsAbsoluteFileName
virtual Bool_t IsAbsoluteFileName(const char *dir)
Return true if dir is an absolute pathname.
Definition: TSystem.cxx:950
TSystem::fDone
Bool_t fDone
Definition: TSystem.h:291
TSystem::Openlog
virtual void Openlog(const char *name, Int_t options, ELogFacility facility)
Open connection to system log daemon.
Definition: TSystem.cxx:1673
TSystem::GetHostByName
virtual TInetAddress GetHostByName(const char *server)
Get Internet Protocol (IP) address of host.
Definition: TSystem.cxx:2329
gSystemMutex
R__EXTERN TVirtualMutex * gSystemMutex
Definition: TSystem.h:244
TProcessEventTimer::Notify
Bool_t Notify()
Notify when timer times out.
Definition: TSystem.h:260
TSystem::Which
virtual char * Which(const char *search, const char *file, EAccessMode mode=kFileExists)
Find location of file in a search path.
Definition: TSystem.cxx:1544
TSystem::StackTrace
virtual void StackTrace()
Print a stack trace.
Definition: TSystem.cxx:733
TSignalHandler
Definition: TSysEvtHandler.h:127
ProcInfo_t::fMemVirtual
Long_t fMemVirtual
Definition: TSystem.h:196
TSystem::GetSoExt
virtual const char * GetSoExt() const
Get the shared library extension.
Definition: TSystem.cxx:4026
TProcessEventTimer
Definition: TSystem.h:257
FileStat_t
Definition: TSystem.h:124
TSystem::GetFlagsDebug
virtual const char * GetFlagsDebug() const
Return the debug flags.
Definition: TSystem.cxx:3940
UserGroup_t::fRealName
TString fRealName
Definition: TSystem.h:144
FileStat_t::fMtime
Long_t fMtime
Definition: TSystem.h:131
TSystem::GetFlagsOpt
virtual const char * GetFlagsOpt() const
Return the optimization flags.
Definition: TSystem.cxx:3948
TSystem::GetListOfTimers
virtual TSeqCollection * GetListOfTimers() const
Definition: TSystem.h:392
CpuInfo_t::fUser
Float_t fUser
Definition: TSystem.h:169
gProgName
const R__EXTERN char * gProgName
Definition: TSystem.h:242
TSystem::SetFlagsDebug
virtual void SetFlagsDebug(const char *)
FlagsDebug should contain the options to pass to the C++ compiler in order to compile the library in ...
Definition: TSystem.cxx:4065
TSystem::Chmod
virtual int Chmod(const char *file, UInt_t mode)
Set the file permission bits. Returns -1 in case or error, 0 otherwise.
Definition: TSystem.cxx:1504
TSystem::fLinkdefSuffix
TString fLinkdefSuffix
Definition: TSystem.h:318
gRootDir
const R__EXTERN char * gRootDir
Definition: TSystem.h:241
TNamed.h
Long64_t
long long Long64_t
Definition: RtypesCore.h:73
TSystem::GetPeerName
virtual TInetAddress GetPeerName(int sock)
Get Internet Protocol (IP) address of remote host and port #.
Definition: TSystem.cxx:2338
TSystem::GetLinkedLibs
virtual const char * GetLinkedLibs() const
Return the list of library linked to this executable.
Definition: TSystem.cxx:4005
UserGroup_t::fGroup
TString fGroup
Definition: TSystem.h:142
kS_ISGID
@ kS_ISGID
Definition: TSystem.h:99
kOob
@ kOob
Definition: TSystem.h:230
R_ISCHR
Bool_t R_ISCHR(Int_t mode)
Definition: TSystem.h:116
TSystem::DynamicPathName
char * DynamicPathName(const char *lib, Bool_t quiet=kFALSE)
Find a dynamic library called lib using the system search paths.
Definition: TSystem.cxx:2015
kReuseAddr
@ kReuseAddr
Definition: TSystem.h:220
Float_t
float Float_t
Definition: RtypesCore.h:57
TSystem::GetLibraries
virtual const char * GetLibraries(const char *regexp="", const char *option="", Bool_t isRegexp=kTRUE)
Return a space separated list of loaded shared libraries.
Definition: TSystem.cxx:2141
SysInfo_t::fBusSpeed
Int_t fBusSpeed
Definition: TSystem.h:156
UserGroup_t::fGid
Int_t fGid
Definition: TSystem.h:140
kS_IXUSR
@ kS_IXUSR
Definition: TSystem.h:104
TSystem
Definition: TSystem.h:266
Int_t
int Int_t
Definition: RtypesCore.h:45
TSystem::SetProgname
virtual void SetProgname(const char *name)
Set the application name (from command line, argv[0]) and copy it in gProgName.
Definition: TSystem.cxx:223
EFpeMask
EFpeMask
Definition: TSystem.h:77
TSystem::fIncludePath
TString fIncludePath
Definition: TSystem.h:311
TVirtualMutex
Definition: TVirtualMutex.h:32
TSystem::fWritemask
TFdSet * fWritemask
Files that should be checked for read events.
Definition: TSystem.h:276
kLogAlert
@ kLogAlert
Definition: TSystem.h:57
TSystem::GetLinkdefSuffix
virtual const char * GetLinkdefSuffix() const
Return the linkdef suffix chosen by the user for ACLiC.
Definition: TSystem.cxx:4014
TSystem::GetError
virtual const char * GetError()
Return system error string.
Definition: TSystem.cxx:251
kS_IRWXG
@ kS_IRWXG
Definition: TSystem.h:105
TSystem::ConsistentWith
virtual Bool_t ConsistentWith(const char *path, void *dirptr=nullptr)
Check consistency of this helper with the one required by 'path' or 'dirptr'.
Definition: TSystem.cxx:803
TSystem::MakeDirectory
virtual int MakeDirectory(const char *name)
Make a directory.
Definition: TSystem.cxx:826
TSystem::GetFromPipe
virtual TString GetFromPipe(const char *command)
Execute command and return output in TString.
Definition: TSystem.cxx:681
TSystem::fListPaths
TString fListPaths
Definition: TSystem.h:310
TSystem::GetErrorStr
const char * GetErrorStr() const
Definition: TSystem.h:350
RedirectHandle_t::RedirectHandle_t
RedirectHandle_t(const char *n=nullptr)
Definition: TSystem.h:210
EFileModeMask
EFileModeMask
Definition: TSystem.h:88
TSystem::fCompiled
TSeqCollection * fCompiled
Definition: TSystem.h:320
TSystem::TempFileName
virtual FILE * TempFileName(TString &base, const char *dir=nullptr)
Create a secure temporary file by appending a unique 6 letter string to base.
Definition: TSystem.cxx:1495
TSystem::fSignals
TFdSet * fSignals
Files with writes waiting.
Definition: TSystem.h:279
TSystem::NextTimeOut
virtual Long_t NextTimeOut(Bool_t mode)
Time when next timer of mode (synchronous=kTRUE or asynchronous=kFALSE) will time-out (in ms).
Definition: TSystem.cxx:495
TSystem::GetMakeExe
virtual const char * GetMakeExe() const
Return the command line use to make an executable.
Definition: TSystem.cxx:3978
ESignals
ESignals
Definition: TSysEvtHandler.h:107
TSystem::AddStdExceptionHandler
virtual void AddStdExceptionHandler(TStdExceptionHandler *eh)
Add an exception handler to list of system exception handlers.
Definition: TSystem.cxx:612
TSystem::PrependPathName
virtual const char * PrependPathName(const char *dir, TString &name)
Concatenate a directory and a file name.
Definition: TSystem.cxx:1079
TTimer.h
TSystem::DirName
virtual const char * DirName(const char *pathname)
Return the directory name in pathname.
Definition: TSystem.cxx:1005
TSystem::SetAclicMode
virtual void SetAclicMode(EAclicMode mode)
AclicMode indicates whether the library should be built in debug mode or optimized.
Definition: TSystem.cxx:4086
kLogErr
@ kLogErr
Definition: TSystem.h:59
SysInfo_t::fModel
TString fModel
Definition: TSystem.h:152
ELogLevel
ELogLevel
Definition: TSystem.h:55
TSystem::ResetSignal
virtual void ResetSignal(ESignals sig, Bool_t reset=kTRUE)
If reset is true reset the signal handler for the specified signal to the default handler,...
Definition: TSystem.cxx:577
TSystem::GetUserInfo
virtual UserGroup_t * GetUserInfo(Int_t uid)
Returns all user info in the UserGroup_t structure.
Definition: TSystem.cxx:1597
kAllMask
@ kAllMask
Definition: TSystem.h:85
TSystem::Load
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
Definition: TSystem.cxx:1852
TSystem::SetLinkedLibs
virtual void SetLinkedLibs(const char *linkedLibs)
LinkedLibs should contain the library directory and list of libraries needed to recreate the current ...
Definition: TSystem.cxx:4214
TSystem::Utime
virtual int Utime(const char *file, Long_t modtime, Long_t actime)
Set the a files modification and access times.
Definition: TSystem.cxx:1523
TString
Definition: TString.h:136
TSystem::AccessPathName
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
Definition: TSystem.cxx:1294
RedirectHandle_t::fReadOffSet
Int_t fReadOffSet
Definition: TSystem.h:209
kLogLocal0
@ kLogLocal0
Definition: TSystem.h:67
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
TSystem::AnnounceUdpService
virtual int AnnounceUdpService(int port, int backlog)
Announce UDP service.
Definition: TSystem.cxx:2392
R_ISREG
Bool_t R_ISREG(Int_t mode)
Definition: TSystem.h:118
FileStat_t::fUid
Int_t fUid
Definition: TSystem.h:128
TSystem::IsPathLocal
virtual Bool_t IsPathLocal(const char *path)
Returns TRUE if the url in 'path' points to the local file system.
Definition: TSystem.cxx:1303
TSystem::IgnoreInterrupt
virtual void IgnoreInterrupt(Bool_t ignore=kTRUE)
If ignore is true ignore the interrupt signal, else restore previous behaviour.
Definition: TSystem.cxx:603
kS_IFMT
@ kS_IFMT
Definition: TSystem.h:89
TSystem::AddTimer
virtual void AddTimer(TTimer *t)
Add timer to list of system timers.
Definition: TSystem.cxx:472
TSystem::GetDirName
virtual TString GetDirName(const char *pathname)
Return the directory name in pathname.
Definition: TSystem.cxx:1030
kS_IWGRP
@ kS_IWGRP
Definition: TSystem.h:107
TSystem::CopyFile
virtual int CopyFile(const char *from, const char *to, Bool_t overwrite=kFALSE)
Copy a file.
Definition: TSystem.cxx:1339
bool
TSystem::WorkingDirectory
virtual const char * WorkingDirectory()
Return working directory.
Definition: TSystem.cxx:870
ProcInfo_t::fCpuSys
Float_t fCpuSys
Definition: TSystem.h:194
kS_IFOFF
@ kS_IFOFF
Definition: TSystem.h:92
TSystem::fFileHandler
TSeqCollection * fFileHandler
Definition: TSystem.h:296
TSystem::fAclicMode
EAclicMode fAclicMode
Definition: TSystem.h:315
TSystem::SplitAclicMode
virtual TString SplitAclicMode(const char *filename, TString &mode, TString &args, TString &io) const
This method split a filename of the form:
Definition: TSystem.cxx:4267
TSystem::OpenConnection
virtual int OpenConnection(const char *server, int port, int tcpwindowsize=-1, const char *protocol="tcp")
Open a connection to another host.
Definition: TSystem.cxx:2374
RedirectHandle_t
Definition: TSystem.h:203
TSystem::GetServiceByPort
virtual char * GetServiceByPort(int port)
Get name of internet service.
Definition: TSystem.cxx:2365
TSystem::fStdExceptionHandler
TSeqCollection * fStdExceptionHandler
Definition: TSystem.h:297
TSystem::fInsideNotify
Bool_t fInsideNotify
Definition: TSystem.h:286
TSystem::ResetErrno
static void ResetErrno()
Static function resetting system error number.
Definition: TSystem.cxx:277
TSystem::GetBuildCompilerVersionStr
virtual const char * GetBuildCompilerVersionStr() const
Return the build compiler version identifier string.
Definition: TSystem.cxx:3912
kLogLocal3
@ kLogLocal3
Definition: TSystem.h:70
TSystem::FindHelper
TSystem * FindHelper(const char *path, void *dirptr=nullptr)
Create helper TSystem to handle file and directory operations that might be special for remote file a...
Definition: TSystem.cxx:745
TSystem::fBuildCompilerVersion
TString fBuildCompilerVersion
Definition: TSystem.h:304
TSystem::GetIncludePath
virtual const char * GetIncludePath()
Get the list of include path.
Definition: TSystem.cxx:3986
TSystem::mkdir
virtual int mkdir(const char *name, Bool_t recursive=kFALSE)
Make a file system directory.
Definition: TSystem.cxx:905
TProcessEventTimer::TProcessEventTimer
TProcessEventTimer(Long_t delay)
Create async event processor timer. Delay is in milliseconds.
Definition: TSystem.cxx:79
kRecvBuffer
@ kRecvBuffer
Definition: TSystem.h:217
TSystem::fReadready
TFdSet * fReadready
Files that should be checked for write events.
Definition: TSystem.h:277
TSystem::fLevel
Int_t fLevel
Definition: TSystem.h:292
group
Definition: TWinNTSystem.h:59
TSystem::kDefault
@ kDefault
Definition: TSystem.h:269
gXDisplay
R__EXTERN TFileHandler * gXDisplay
Definition: TSystem.h:560
CpuInfo_t::fLoad5m
Float_t fLoad5m
Definition: TSystem.h:167
TSystem::fHelpers
TSeqCollection * fHelpers
Definition: TSystem.h:321
CpuInfo_t::fLoad1m
Float_t fLoad1m
Definition: TSystem.h:166
MemInfo_t::fSwapUsed
Int_t fSwapUsed
Definition: TSystem.h:184
TSystem::fLinkedLibs
TString fLinkedLibs
Definition: TSystem.h:312
TSystem::Init
virtual Bool_t Init()
Initialize the OS interface.
Definition: TSystem.cxx:181
TSystem::SetLinkdefSuffix
virtual void SetLinkdefSuffix(const char *suffix)
The 'suffix' will be appended to the name of a script loaded by ACLiC and used to locate any eventual...
Definition: TSystem.cxx:4236
TSystem::StripOffProto
static const char * StripOffProto(const char *path, const char *proto)
Strip off protocol string from specified path.
Definition: TSystem.cxx:115
FileStat_t::FileStat_t
FileStat_t()
Definition: TSystem.h:134
TSystem::SetFlagsOpt
virtual void SetFlagsOpt(const char *)
FlagsOpt should contain the options to pass to the C++ compiler in order to compile the library in op...
Definition: TSystem.cxx:4074
TSystem::TSystem
TSystem(const TSystem &)=delete
TSystem::GetBuildArch
virtual const char * GetBuildArch() const
Return the build architecture.
Definition: TSystem.cxx:3888
TSystem::GetSysInfo
virtual int GetSysInfo(SysInfo_t *info) const
Returns static system info, like OS type, CPU type, number of CPUs RAM size, etc into the SysInfo_t s...
Definition: TSystem.cxx:2496
TSystem::DynFindSymbol
virtual Func_t DynFindSymbol(const char *module, const char *entry)
Find specific entry point in specified library.
Definition: TSystem.cxx:2039
TTimer
Definition: TTimer.h:51
kOverflow
@ kOverflow
Definition: TSystem.h:81
TSystem::fBuildDir
TString fBuildDir
Definition: TSystem.h:307
TSystem::fMaxrfd
Int_t fMaxrfd
Definition: TSystem.h:281
Option_t
const typedef char Option_t
Definition: RtypesCore.h:66
kLogLocal4
@ kLogLocal4
Definition: TSystem.h:71
TSystem::EAclicProperties
EAclicProperties
Definition: TSystem.h:270
TSystem::SendBuf
virtual int SendBuf(int sock, const void *buffer, int length)
Send a buffer headed by a length indicator.
Definition: TSystem.cxx:2465
TSystem::SetDynamicPath
virtual void SetDynamicPath(const char *pathname)
Set the dynamic path to a new value.
Definition: TSystem.cxx:1802
kInvalid
@ kInvalid
Definition: TSystem.h:79
TSystem::GetObjExt
virtual const char * GetObjExt() const
Get the object file extension.
Definition: TSystem.cxx:4034
MemInfo_t::fSwapFree
Int_t fSwapFree
Definition: TSystem.h:185
TSystem::SetIncludePath
virtual void SetIncludePath(const char *includePath)
IncludePath should contain the list of compiler flags to indicate where to find user defined header f...
Definition: TSystem.cxx:4203
TSystem::CompileMacro
virtual int CompileMacro(const char *filename, Option_t *opt="", const char *library_name="", const char *build_dir="", UInt_t dirmode=0)
This method compiles and loads a shared library containing the code from the file "filename".
Definition: TSystem.cxx:2868
TSystem::GetBeepDefaults
void GetBeepDefaults(Int_t &freq, Int_t &duration) const
Definition: TSystem.h:359
TSystem::~TSystem
virtual ~TSystem()
Delete the OS interface.
Definition: TSystem.cxx:137
TSystem::RedirectOutput
virtual Int_t RedirectOutput(const char *name, const char *mode="a", RedirectHandle_t *h=nullptr)
Redirect standard output (stdout, stderr) to the specified file.
Definition: TSystem.cxx:1711
kExecutePermission
@ kExecutePermission
Definition: TSystem.h:45
SysInfo_t
Definition: TSystem.h:150
kS_IFIFO
@ kS_IFIFO
Definition: TSystem.h:97
TSystem::RecvRaw
virtual int RecvRaw(int sock, void *buffer, int length, int flag)
Receive exactly length bytes into buffer.
Definition: TSystem.cxx:2437
h
#define h(i)
Definition: RSha256.hxx:124
TSystem::fAclicProperties
Int_t fAclicProperties
Definition: TSystem.h:319
FileStat_t::fMode
Int_t fMode
Definition: TSystem.h:127
TSystem::GetPid
virtual int GetPid()
Get process id.
Definition: TSystem.cxx:708
TSystem::GetListOfStdExceptionHandlers
virtual TSeqCollection * GetListOfStdExceptionHandlers() const
Definition: TSystem.h:384
TSystem::fBuildCompiler
TString fBuildCompiler
Definition: TSystem.h:303
FileStat_t::fGid
Int_t fGid
Definition: TSystem.h:129
FileStat_t::fIsLink
Bool_t fIsLink
Definition: TSystem.h:132
ELogOption
ELogOption
Definition: TSystem.h:50
kWritePermission
@ kWritePermission
Definition: TSystem.h:46
FileStat_t::fSize
Long64_t fSize
Definition: TSystem.h:130
ESendRecvOptions
ESendRecvOptions
Definition: TSystem.h:228
TSystem::fListLibs
TString fListLibs
Definition: TSystem.h:300
TSystem::fSignalHandler
TSeqCollection * fSignalHandler
Definition: TSystem.h:295
TSystem::SetObjExt
virtual void SetObjExt(const char *objExt)
Set object files extension, should be either .o, .obj, etc.
Definition: TSystem.cxx:4253
TSystem::ClosePipe
virtual int ClosePipe(FILE *pipe)
Close the pipe.
Definition: TSystem.cxx:672
TSystem::AnnounceUnixService
virtual int AnnounceUnixService(int port, int backlog)
Announce unix domain service.
Definition: TSystem.cxx:2401
TSystem::GetCpuInfo
virtual int GetCpuInfo(CpuInfo_t *info, Int_t sampleTime=1000) const
Returns cpu load average and load info into the CpuInfo_t structure.
Definition: TSystem.cxx:2507
kS_IFCHR
@ kS_IFCHR
Definition: TSystem.h:96
kBytesToRead
@ kBytesToRead
Definition: TSystem.h:225
TNamed
Definition: TNamed.h:29
TSystem::InnerLoop
virtual void InnerLoop()
Inner event loop.
Definition: TSystem.cxx:401
TSystem::RecvBuf
virtual int RecvBuf(int sock, void *buffer, int length)
Receive a buffer headed by a length indicator.
Definition: TSystem.cxx:2456
kS_IWUSR
@ kS_IWUSR
Definition: TSystem.h:103
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
SysInfo_t::fL2Cache
Int_t fL2Cache
Definition: TSystem.h:157
TSystem::Exec
virtual Int_t Exec(const char *shellcmd)
Execute a command.
Definition: TSystem.cxx:654
MemInfo_t
Definition: TSystem.h:179
Long_t
long Long_t
Definition: RtypesCore.h:54
TSystem::SetSockOpt
virtual int SetSockOpt(int sock, int kind, int val)
Set socket option.
Definition: TSystem.cxx:2474
TTime
Definition: TTime.h:27
kS_IXOTH
@ kS_IXOTH
Definition: TSystem.h:112
TSystem::NotifyApplicationCreated
virtual void NotifyApplicationCreated()
Hook to tell TSystem that the TApplication object has been created.
Definition: TSystem.cxx:312
ELogFacility
ELogFacility
Definition: TSystem.h:66
TSystem::Rename
virtual int Rename(const char *from, const char *to)
Rename a file.
Definition: TSystem.cxx:1348
TSystem::fFlagsDebug
TString fFlagsDebug
Definition: TSystem.h:308
TSystem::GetWorkingDirectory
virtual std::string GetWorkingDirectory() const
Return working directory.
Definition: TSystem.cxx:878
TSystem::RemoveFileHandler
virtual TFileHandler * RemoveFileHandler(TFileHandler *fh)
Remove a file handler from the list of file handlers.
Definition: TSystem.cxx:565
TProcessEventTimer::ProcessEvents
Bool_t ProcessEvents()
Process events if timer did time out.
Definition: TSystem.cxx:90
TInetAddress.h
TSystem::SetFPEMask
virtual Int_t SetFPEMask(Int_t mask=kDefaultMask)
Set which conditions trigger a floating point exception.
Definition: TSystem.cxx:643
TSystem::GetEffectiveUid
virtual Int_t GetEffectiveUid()
Returns the effective user id.
Definition: TSystem.cxx:1568
TSystem::fBeepFreq
Int_t fBeepFreq
Definition: TSystem.h:287
BIT
#define BIT(n)
Definition: Rtypes.h:85
TSystem::Select
virtual Int_t Select(TList *active, Long_t timeout)
Select on active file descriptors (called by TMonitor).
Definition: TSystem.cxx:446
TSystem::fOnExitList
TSeqCollection * fOnExitList
Definition: TSystem.h:298
kS_ISUID
@ kS_ISUID
Definition: TSystem.h:98
UInt_t
unsigned int UInt_t
Definition: RtypesCore.h:46
TSystem::LoadAllLibraries
virtual UInt_t LoadAllLibraries()
Load all libraries known to ROOT via the rootmap system.
Definition: TSystem.cxx:1965
TSystem::Now
virtual TTime Now()
Get current time in milliseconds since 0:00 Jan 1 1995.
Definition: TSystem.cxx:464
TSystem::HostName
virtual const char * HostName()
Return the system's host name.
Definition: TSystem.cxx:304
TSystem::SigAlarmInterruptsSyscalls
virtual void SigAlarmInterruptsSyscalls(Bool_t)
Definition: TSystem.h:330
TSystem::fSigcnt
Int_t fSigcnt
Definition: TSystem.h:283
ProcInfo_t::fMemResident
Long_t fMemResident
Definition: TSystem.h:195
kS_IRGRP
@ kS_IRGRP
Definition: TSystem.h:106
TSystem::ExpandPathName
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
Definition: TSystem.cxx:1272
TSystem::fHostname
TString fHostname
Definition: TSystem.h:285
kS_IFLNK
@ kS_IFLNK
Definition: TSystem.h:91
ProcInfo_t::ProcInfo_t
ProcInfo_t()
Definition: TSystem.h:197
TSystem::Sleep
virtual void Sleep(UInt_t milliSec)
Sleep milliSec milli seconds.
Definition: TSystem.cxx:438
TSystem::EAclicMode
EAclicMode
Definition: TSystem.h:269
SysInfo_t::SysInfo_t
SysInfo_t()
Definition: TSystem.h:159
TSystem::CloseConnection
virtual void CloseConnection(int sock, Bool_t force=kFALSE)
Close socket connection.
Definition: TSystem.cxx:2428
TSystem::fBuildNode
TString fBuildNode
Definition: TSystem.h:306
TSystem::AddDynamicPath
virtual void AddDynamicPath(const char *pathname)
Add a new directory to the dynamic path.
Definition: TSystem.cxx:1783
TSystem::CleanCompiledMacros
virtual void CleanCompiledMacros()
Remove the shared libs produced by the CompileMacro() function.
Definition: TSystem.cxx:4377
TSystem::AddSignalHandler
virtual void AddSignalHandler(TSignalHandler *sh)
Add a signal handler to list of system signal handlers.
Definition: TSystem.cxx:533
TSystem::Beep
void Beep(Int_t freq=-1, Int_t duration=-1, Bool_t setDefault=kFALSE)
Beep for duration milliseconds with a tone of frequency freq.
Definition: TSystem.cxx:325
void
typedef void((*Func_t)())
TSystem::GetUid
virtual Int_t GetUid(const char *user=nullptr)
Returns the user's id. If user = 0, returns current user's id.
Definition: TSystem.cxx:1558
TSystem::RemoveStdExceptionHandler
virtual TStdExceptionHandler * RemoveStdExceptionHandler(TStdExceptionHandler *eh)
Remove an exception handler from list of exception handlers.
Definition: TSystem.cxx:622
kLogEmerg
@ kLogEmerg
Definition: TSystem.h:56
TSystem::kFlatBuildDir
@ kFlatBuildDir
Definition: TSystem.h:271
gProgPath
const R__EXTERN char * gProgPath
Definition: TSystem.h:243
TSystem::GetGroupInfo
virtual UserGroup_t * GetGroupInfo(Int_t gid)
Returns all group info in the UserGroup_t structure.
Definition: TSystem.cxx:1621
TSystem::fBuildCompilerVersionStr
TString fBuildCompilerVersionStr
Definition: TSystem.h:305
TSystem::Umask
virtual int Umask(Int_t mask)
Set the process file creation mode mask.
Definition: TSystem.cxx:1513
TSystem::GetGid
virtual Int_t GetGid(const char *group=nullptr)
Returns the group's id. If group = 0, returns current user's group.
Definition: TSystem.cxx:1577
FileStat_t::fIno
Long_t fIno
Definition: TSystem.h:126
SysInfo_t::fCpus
Int_t fCpus
Definition: TSystem.h:154
SysInfo_t::fCpuSpeed
Int_t fCpuSpeed
Definition: TSystem.h:155
gSystem
R__EXTERN TSystem * gSystem
Definition: TSystem.h:559
TSystem::AddLinkedLibs
virtual void AddLinkedLibs(const char *linkedLib)
Add linkedLib to already set linked libs.
Definition: TSystem.cxx:4179
TSystem::fMaxwfd
Int_t fMaxwfd
Definition: TSystem.h:282
TSeqCollection
Definition: TSeqCollection.h:28
TSystem::Getenv
virtual const char * Getenv(const char *env)
Get environment variable.
Definition: TSystem.cxx:1661
TSystem::fBuildArch
TString fBuildArch
Definition: TSystem.h:302
proto
const char * proto
Definition: civetweb.c:16604
EAccessMode
EAccessMode
Definition: TSystem.h:43
kS_IFDIR
@ kS_IFDIR
Definition: TSystem.h:95
TSystem::Syslog
virtual void Syslog(ELogLevel level, const char *mess)
Send mess to syslog daemon.
Definition: TSystem.cxx:1682
TSystem::operator=
TSystem & operator=(const TSystem &)=delete
TSystem::GetAclicMode
virtual EAclicMode GetAclicMode() const
AclicMode indicates whether the library should be built in debug mode or optimized.
Definition: TSystem.cxx:3960
TSystem::GetBuildCompiler
virtual const char * GetBuildCompiler() const
Return the build compiler.
Definition: TSystem.cxx:3896
TSystem::fInControl
Bool_t fInControl
Definition: TSystem.h:290
TSystem::TempDirectory
virtual const char * TempDirectory() const
Return a user configured or systemwide directory to create temporary files in.
Definition: TSystem.cxx:1480
kS_IWOTH
@ kS_IWOTH
Definition: TSystem.h:111
TSystem::OpenDirectory
virtual void * OpenDirectory(const char *name)
Open a directory. Returns 0 if directory does not exist.
Definition: TSystem.cxx:835
kS_IFSOCK
@ kS_IFSOCK
Definition: TSystem.h:90
TSystem::Exit
virtual void Exit(int code, Bool_t mode=kTRUE)
Exit the application.
Definition: TSystem.cxx:717
kS_IFREG
@ kS_IFREG
Definition: TSystem.h:93
kPeek
@ kPeek
Definition: TSystem.h:231
TSystem::kDebug
@ kDebug
Definition: TSystem.h:269
TSystem::Abort
virtual void Abort(int code=0)
Abort the application.
Definition: TSystem.cxx:725
TSystem::UnixPathName
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
Definition: TSystem.cxx:1061
kLogWarning
@ kLogWarning
Definition: TSystem.h:60
ProcInfo_t::fCpuUser
Float_t fCpuUser
Definition: TSystem.h:193
TSystem::GetMakeSharedLib
virtual const char * GetMakeSharedLib() const
Return the command line use to make a shared library.
Definition: TSystem.cxx:3969
TSystem::Unsetenv
virtual void Unsetenv(const char *name)
Unset environment variable.
Definition: TSystem.cxx:1653
RedirectHandle_t::fStdErrTty
TString fStdErrTty
Definition: TSystem.h:206
SysInfo_t::fCpuType
TString fCpuType
Definition: TSystem.h:153
R_ISDIR
Bool_t R_ISDIR(Int_t mode)
Definition: TSystem.h:115
kNoneMask
@ kNoneMask
Definition: TSystem.h:78
file
Definition: file.py:1
TSystem::AddFileHandler
virtual void AddFileHandler(TFileHandler *fh)
Add a file handler to the list of system file handlers.
Definition: TSystem.cxx:555
TSystem::GetListOfFileHandlers
virtual TSeqCollection * GetListOfFileHandlers() const
Definition: TSystem.h:381
kLogLocal7
@ kLogLocal7
Definition: TSystem.h:74
TSystem::ResetTimer
virtual void ResetTimer(TTimer *)
Definition: TSystem.h:395
MemInfo_t::fSwapTotal
Int_t fSwapTotal
Definition: TSystem.h:183
TSystem::Closelog
virtual void Closelog()
Close connection to system log daemon.
Definition: TSystem.cxx:1690
TSystem::GetDirEntry
virtual const char * GetDirEntry(void *dirp)
Get a directory entry. Returns 0 if no more entries.
Definition: TSystem.cxx:852
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TSystem::GetLinkedLibraries
virtual const char * GetLinkedLibraries()
Get list of shared libraries loaded at the start of the executable.
Definition: TSystem.cxx:2123
kFileExists
@ kFileExists
Definition: TSystem.h:44
TSystem::fReadmask
TFdSet * fReadmask
Definition: TSystem.h:275
CpuInfo_t::fIdle
Float_t fIdle
Definition: TSystem.h:172
kLogCrit
@ kLogCrit
Definition: TSystem.h:58
UserGroup_t
Definition: TSystem.h:138
kLogLocal6
@ kLogLocal6
Definition: TSystem.h:73
MemInfo_t::~MemInfo_t
virtual ~MemInfo_t()
Definition: TSystem.h:188
name
char name[80]
Definition: TGX11.cxx:110
TSystem::fMakeSharedLib
TString fMakeSharedLib
Definition: TSystem.h:316
kS_IXGRP
@ kS_IXGRP
Definition: TSystem.h:108
R_ISBLK
Bool_t R_ISBLK(Int_t mode)
Definition: TSystem.h:117
TSystem::GetErrno
static Int_t GetErrno()
Static function returning system error number.
Definition: TSystem.cxx:261
TSystem::GetSockOpt
virtual int GetSockOpt(int sock, int kind, int *val)
Get socket option.
Definition: TSystem.cxx:2483
TSystem::GetSockName
virtual TInetAddress GetSockName(int sock)
Get Internet Protocol (IP) address of host and port #.
Definition: TSystem.cxx:2347
TFileHandler
Definition: TSysEvtHandler.h:65
TSystem::Symlink
virtual int Symlink(const char *from, const char *to)
Create a symbolic link from file1 to file2.
Definition: TSystem.cxx:1366
UserGroup_t::fPasswd
TString fPasswd
Definition: TSystem.h:143
TSystem::fSoExt
TString fSoExt
Definition: TSystem.h:313
TSystem::fBeepDuration
Int_t fBeepDuration
Definition: TSystem.h:288
TSystem::ConcatFileName
virtual char * ConcatFileName(const char *dir, const char *name)
Concatenate a directory and a file name. User must delete returned string.
Definition: TSystem.cxx:1069
kAtMark
@ kAtMark
Definition: TSystem.h:224
TSystem::GetFPEMask
virtual Int_t GetFPEMask()
Return the bitmap of conditions that trigger a floating point exception.
Definition: TSystem.cxx:633
kInexact
@ kInexact
Definition: TSystem.h:83
R__EXTERN
#define R__EXTERN
Definition: DllImport.h:27
MemInfo_t::fMemTotal
Int_t fMemTotal
Definition: TSystem.h:180
kSendBuffer
@ kSendBuffer
Definition: TSystem.h:216
TSystem::fWdpath
TString fWdpath
Definition: TSystem.h:284
CpuInfo_t
Definition: TSystem.h:165
kDontBlock
@ kDontBlock
Definition: TSystem.h:232
TSystem::GetListOfSignalHandlers
virtual TSeqCollection * GetListOfSignalHandlers() const
Definition: TSystem.h:378
TSystem::DispatchOneEvent
virtual void DispatchOneEvent(Bool_t pendingOnly=kFALSE)
Dispatch a single event.
Definition: TSystem.cxx:430
TSystem::DoBeep
virtual void DoBeep(Int_t=-1, Int_t=-1) const
Definition: TSystem.h:332
TSystem::AcceptConnection
virtual int AcceptConnection(int sock)
Accept a connection.
Definition: TSystem.cxx:2419
UserGroup_t::fUid
Int_t fUid
Definition: TSystem.h:139
R_ISFIFO
Bool_t R_ISFIFO(Int_t mode)
Definition: TSystem.h:120
MemInfo_t::fMemUsed
Int_t fMemUsed
Definition: TSystem.h:181
TSystem::fMakeExe
TString fMakeExe
Definition: TSystem.h:317
CpuInfo_t::CpuInfo_t
CpuInfo_t()
Definition: TSystem.h:173
TSystem::IgnoreSignal
virtual void IgnoreSignal(ESignals sig, Bool_t ignore=kTRUE)
If ignore is true ignore the specified signal, else restore previous behaviour.
Definition: TSystem.cxx:594
kLogCons
@ kLogCons
Definition: TSystem.h:52
launcher.module
module
Definition: launcher.py:31
TSystem::GetDynamicPath
virtual const char * GetDynamicPath()
Return the dynamic path (used to find shared libraries).
Definition: TSystem.cxx:1791
kS_IRWXU
@ kS_IRWXU
Definition: TSystem.h:101
kLogInfo
@ kLogInfo
Definition: TSystem.h:62
ESockOptions
ESockOptions
Definition: TSystem.h:215
kDefault
@ kDefault
Definition: TSystem.h:229
TSystem::AnnounceTcpService
virtual int AnnounceTcpService(int port, Bool_t reuse, int backlog, int tcpwindowsize=-1)
Announce TCP/IP service.
Definition: TSystem.cxx:2383
ProcInfo_t::~ProcInfo_t
virtual ~ProcInfo_t()
Definition: TSystem.cxx:73
TSystem::ListLibraries
virtual void ListLibraries(const char *regexp="")
List all loaded shared libraries.
Definition: TSystem.cxx:2068
SysInfo_t::fPhysRam
Int_t fPhysRam
Definition: TSystem.h:158
RedirectHandle_t::fStdErrDup
Int_t fStdErrDup
Definition: TSystem.h:208
kS_IRWXO
@ kS_IRWXO
Definition: TSystem.h:109
kReadPermission
@ kReadPermission
Definition: TSystem.h:47
TSystem::ListSymbols
virtual void ListSymbols(const char *module, const char *re="")
List symbols in a shared library.
Definition: TSystem.cxx:2059
TSystem::SetDisplay
virtual void SetDisplay()
Set DISPLAY environment variable based on utmp entry. Only for UNIX.
Definition: TSystem.cxx:232
TSystem::SetMakeExe
virtual void SetMakeExe(const char *directives)
Directives has the same syntax as the argument of SetMakeSharedLib but is used to create an executabl...
Definition: TSystem.cxx:4102
TSystem::Run
virtual void Run()
System event loop.
Definition: TSystem.cxx:344
MemInfo_t::MemInfo_t
MemInfo_t()
Definition: TSystem.h:186
TSystem::GetFsInfo
virtual int GetFsInfo(const char *path, Long_t *id, Long_t *bsize, Long_t *blocks, Long_t *bfree)
Get info about a file system: fs type, block size, number of blocks, number of free blocks.
Definition: TSystem.cxx:1470
TInetAddress
Definition: TInetAddress.h:36
kLogDebug
@ kLogDebug
Definition: TSystem.h:63
TSystem::GetEffectiveGid
virtual Int_t GetEffectiveGid()
Returns the effective group id.
Definition: TSystem.cxx:1587
TSystem::HomeDirectory
virtual const char * HomeDirectory(const char *userName=nullptr)
Return the user's home directory.
Definition: TSystem.cxx:886
TSystem::Unload
virtual void Unload(const char *module)
Unload a shared library.
Definition: TSystem.cxx:2047
TSystem::GetMemInfo
virtual int GetMemInfo(MemInfo_t *info) const
Returns ram and swap memory usage info into the MemInfo_t structure.
Definition: TSystem.cxx:2517
RedirectHandle_t::fFile
TString fFile
Definition: TSystem.h:204
kS_IRUSR
@ kS_IRUSR
Definition: TSystem.h:102
R_ISOFF
Bool_t R_ISOFF(Int_t mode)
Definition: TSystem.h:122
CpuInfo_t::fTotal
Float_t fTotal
Definition: TSystem.h:171
TSystem::GetServiceByName
virtual int GetServiceByName(const char *service)
Get port # of internet service.
Definition: TSystem.cxx:2356
kNoBlock
@ kNoBlock
Definition: TSystem.h:222
TSystem::OpenPipe
virtual FILE * OpenPipe(const char *command, const char *mode)
Open a pipe.
Definition: TSystem.cxx:663
TSystem::ProcessEvents
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
Definition: TSystem.cxx:417
kLogLocal1
@ kLogLocal1
Definition: TSystem.h:68
kLogLocal5
@ kLogLocal5
Definition: TSystem.h:72
RedirectHandle_t::fStdOutTty
TString fStdOutTty
Definition: TSystem.h:205
TSystem::RemoveSignalHandler
virtual TSignalHandler * RemoveSignalHandler(TSignalHandler *sh)
Remove a signal handler from list of signal handlers.
Definition: TSystem.cxx:543
TStdExceptionHandler
Definition: TSysEvtHandler.h:172
SysInfo_t::fOS
TString fOS
Definition: TSystem.h:151
TSystem::SendRaw
virtual int SendRaw(int sock, const void *buffer, int length, int flag)
Send exactly length bytes from buffer.
Definition: TSystem.cxx:2447
TSystem::pwd
const char * pwd()
Definition: TSystem.h:422
TSystem::SetMakeSharedLib
virtual void SetMakeSharedLib(const char *directives)
Directives should contain the description on how to compile and link a shared lib.
Definition: TSystem.cxx:4154
TSystem::GetBuildCompilerVersion
virtual const char * GetBuildCompilerVersion() const
Return the build compiler version.
Definition: TSystem.cxx:3904
TList
Definition: TList.h:44
TSystem::ResetSignals
virtual void ResetSignals()
Reset signals handlers to previous behaviour.
Definition: TSystem.cxx:585
UserGroup_t::fShell
TString fShell
Definition: TSystem.h:145
kProcessGroup
@ kProcessGroup
Definition: TSystem.h:223
RedirectHandle_t::fStdOutDup
Int_t fStdOutDup
Definition: TSystem.h:207
int
TSystem::GetProcInfo
virtual int GetProcInfo(ProcInfo_t *info) const
Returns cpu and memory used by this process into the ProcInfo_t structure.
Definition: TSystem.cxx:2527
FileStat_t::fDev
Long_t fDev
Definition: TSystem.h:125
TSystem::SetErrorStr
void SetErrorStr(const char *errstr)
Set the system error string.
Definition: TSystem.cxx:242
TSystem::IsFileInIncludePath
virtual Bool_t IsFileInIncludePath(const char *name, char **fullpath=nullptr)
Return true if 'name' is a file that can be found in the ROOT include path or the current directory.
Definition: TSystem.cxx:965
kDefaultMask
@ kDefaultMask
Definition: TSystem.h:84
TSystem::GetVolumes
virtual TList * GetVolumes(Option_t *) const
Definition: TSystem.h:453
kUnderflow
@ kUnderflow
Definition: TSystem.h:82
TSystem::AddIncludePath
virtual void AddIncludePath(const char *includePath)
Add a directory to the already set include path.
Definition: TSystem.cxx:4168