Public Methods |
| | TUnixSystem () |
| virtual | ~TUnixSystem () |
| Bool_t | Init () |
| void | SetProgname (const char *name) |
| void | SetDisplay () |
| const char * | GetError () |
| const char * | HostName () |
| void | DispatchOneEvent (Bool_t pendingOnly=kFALSE) |
| void | CheckChilds () |
| Bool_t | CheckSignals (Bool_t sync) |
| Bool_t | CheckDescriptors () |
| void | DispatchSignals (ESignals sig) |
| void | AddSignalHandler (TSignalHandler *sh) |
| TSignalHandler * | RemoveSignalHandler (TSignalHandler *sh) |
| void | ResetSignal (ESignals sig, Bool_t reset=kTRUE) |
| void | IgnoreSignal (ESignals sig, Bool_t ignore=kTRUE) |
| void | AddFileHandler (TFileHandler *fh) |
| TFileHandler * | RemoveFileHandler (TFileHandler *fh) |
| Int_t | GetFPEMask () |
| Int_t | SetFPEMask (Int_t mask=kDefaultMask) |
| TTime | Now () |
| void | AddTimer (TTimer *ti) |
| TTimer * | RemoveTimer (TTimer *ti) |
| void | ResetTimer (TTimer *ti) |
| Bool_t | DispatchTimers (Bool_t mode) |
| void | Sleep (UInt_t milliSec) |
| int | Exec (const char *shellcmd) |
| FILE * | OpenPipe (const char *shellcmd, const char *mode) |
| int | ClosePipe (FILE *pipe) |
| void | Exit (int code, Bool_t mode=kTRUE) |
| void | Abort (int code=0) |
| int | GetPid () |
| void | StackTrace () |
| const char * | Getenv (const char *name) |
| void | Setenv (const char *name, const char *value) |
| int | MakeDirectory (const char *name) |
| void * | OpenDirectory (const char *name) |
| void | FreeDirectory (void *dirp) |
| const char * | GetDirEntry (void *dirp) |
| Bool_t | ChangeDirectory (const char *path) |
| const char * | WorkingDirectory () |
| const char * | HomeDirectory (const char *userName=0) |
| char * | ConcatFileName (const char *dir, const char *name) |
| Bool_t | ExpandPathName (TString &patbuf) |
| char * | ExpandPathName (const char *path) |
| Bool_t | AccessPathName (const char *path, EAccessMode mode=kFileExists) |
| int | CopyFile (const char *from, const char *to, Bool_t overwrite=kFALSE) |
| int | Rename (const char *from, const char *to) |
| int | Link (const char *from, const char *to) |
| int | Symlink (const char *from, const char *to) |
| int | Unlink (const char *name) |
| int | GetPathInfo (const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime) |
| int | GetFsInfo (const char *path, Long_t *id, Long_t *bsize, Long_t *blocks, Long_t *bfree) |
| int | Umask (Int_t mask) |
| int | Utime (const char *file, Long_t modtime, Long_t actime) |
| char * | Which (const char *search, const char *file, EAccessMode mode=kFileExists) |
| void | Openlog (const char *name, Int_t options, ELogFacility facility) |
| void | Syslog (ELogLevel level, const char *mess) |
| void | Closelog () |
| Func_t | DynFindSymbol (const char *module, const char *entry) |
| int | Load (const char *module, const char *entry="", Bool_t system=kFALSE) |
| void | Unload (const char *module) |
| void | ListSymbols (const char *module, const char *re="") |
| void | ListLibraries (const char *regexp="") |
| TInetAddress | GetHostByName (const char *server) |
| TInetAddress | GetPeerName (int sock) |
| TInetAddress | GetSockName (int sock) |
| int | GetServiceByName (const char *service) |
| char * | GetServiceByPort (int port) |
| int | ConnectService (const char *server, int port, int tcpwindowsize) |
| int | OpenConnection (const char *server, int port, int tcpwindowsize=-1) |
| int | AnnounceTcpService (int port, Bool_t reuse, int backlog, int tcpwindowsize=-1) |
| int | AnnounceUnixService (int port, int backlog) |
| int | AcceptConnection (int sock) |
| void | CloseConnection (int sock, Bool_t force=kFALSE) |
| int | RecvRaw (int sock, void *buffer, int length, int flag) |
| int | SendRaw (int sock, const void *buffer, int length, int flag) |
| int | RecvBuf (int sock, void *buffer, int length) |
| int | SendBuf (int sock, const void *buffer, int length) |
| int | SetSockOpt (int sock, int option, int val) |
| int | GetSockOpt (int sock, int option, int *val) |
Protected Methods |
| char * | DynamicPathName (const char *lib, Bool_t quiet=kFALSE) |
Static Protected Methods |
| int | UnixMakedir (const char *name) |
| void * | UnixOpendir (const char *name) |
| const char * | UnixGetdirentry (void *dir) |
| const char * | UnixHomedirectory (const char *user=0) |
| Long_t | UnixNow () |
| int | UnixWaitchild () |
| int | UnixSetitimer (Long_t ms) |
| int | UnixSelect (UInt_t nfds, TFdSet *readready, TFdSet *writeready, Long_t timeout) |
| void | UnixSignal (ESignals sig, SigHandler_t h) |
| const char * | UnixSigname (ESignals sig) |
| void | UnixResetSignal (ESignals sig) |
| void | UnixResetSignals () |
| void | UnixIgnoreSignal (ESignals sig, Bool_t ignore) |
| int | UnixFilestat (const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime) |
| int | UnixFSstat (const char *path, Long_t *id, Long_t *bsize, Long_t *blocks, Long_t *bfree) |
| int | UnixTcpConnect (const char *hostname, int port, int tcpwindowsize) |
| int | UnixUnixConnect (int port) |
| int | UnixTcpService (int port, Bool_t reuse, int backlog, int tcpwindowsize) |
| int | UnixUnixService (int port, int backlog) |
| int | UnixRecv (int sock, void *buf, int len, int flag) |
| int | UnixSend (int sock, const void *buf, int len, int flag) |
| const char * | GetDynamicPath () |
| void * | FindDynLib (const char *lib) |
| int | UnixDynLoad (const char *lib) |
| Func_t | UnixDynFindSymbol (const char *lib, const char *entry) |
| void | UnixDynUnload (const char *lib) |
| void | UnixDynListSymbols (const char *lib, const char *re="") |
| void | UnixDynListLibs (const char *lib="") |
| void * | SearchUtmpEntry (int nentries, const char *tty) |
| int | ReadUtmpFile () |