pmain.cxx File Reference

#include <stdio.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <stdlib.h>
#include <sys/types.h>
#include "RConfig.h"
#include "RConfigure.h"
#include "TApplication.h"
#include "TInterpreter.h"
#include "TROOT.h"
#include "TSystem.h"

Go to the source code of this file.

Typedefs

typedef TApplication *(*) TProofServ_t (Int_t *argc, char **argv, FILE *flog)

Functions

static void ReadPutEnvs (const char *envfile)
static FILE * RedirectOutput (const char *logfile, const char *loc)
static void SetMaxMemLimits (const char *prog)
int main (int argc, char **argv)

Variables

static Int_t gLogLevel = 0


Typedef Documentation

typedef TApplication*(*) TProofServ_t(Int_t *argc, char **argv, FILE *flog)

Definition at line 48 of file pmain.cxx.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 220 of file pmain.cxx.

References TString::Data(), debug, TSystem::DynamicPathName(), TSystem::DynFindSymbol(), TSystem::Exit(), fprintf(), TSystem::Getenv(), gInterpreter, gLogLevel, gROOT, gSystem, kTRUE, TSystem::Load(), ReadPutEnvs(), RedirectOutput(), TApplication::Run(), TROOT::SetBatch(), SetMaxMemLimits(), and strtol().

static void ReadPutEnvs ( const char *  envfile  )  [static]

Definition at line 59 of file pmain.cxx.

References fclose(), fopen, l, putenv, and strcpy().

Referenced by main().

static FILE* RedirectOutput ( const char *  logfile,
const char *  loc 
) [static]

Definition at line 91 of file pmain.cxx.

References flog, fopen, and fprintf().

Referenced by G__G__Base2_242_0_114(), G__G__ProofPlayer_260_0_17(), and main().

static void SetMaxMemLimits ( const char *  prog  )  [static]

Definition at line 135 of file pmain.cxx.

References fprintf(), TSystem::Getenv(), gLogLevel, gSystem, Long64_t, and strtol().

Referenced by main().


Variable Documentation

Int_t gLogLevel = 0 [static]

Definition at line 44 of file pmain.cxx.

Referenced by main(), and SetMaxMemLimits().


Generated on Tue Jul 5 16:06:54 2011 for ROOT_528-00b_version by  doxygen 1.5.1