[Next] [Prev] [Up] [Top]

18.0 System Calls

Encapsulate system calls; do not make direct system calls that already have equivalents (R)

For Unix, for porting concerns, use the following functions in place of direct system calls. Here is a partial list.

Instead of Use


strtod TString::scanInt()

strtol TString::scanFloat()

getenv fGetEnv

system fSystem

exit(0) fExitWithSuccess()

exit(1) fExitWithFailure()

No Title
[Next] [Prev] [Up] [Top]

Generated with CERN WebMaker

This site was grabbed using the TRIAL version of Grab-a-Site. This message does not appear on a licensed copy of Grab-a-Site.