PPL Logo

arch/net/charmrun/daemon.c File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int BYTE

Functions

int abort_writelog (int code, const char *msg)
char startProgram (const char *exeName, const char *args, const char *cwd, char *env)
void goFaceless (void)
int main ()
void envCat (char *dest, LPTSTR oldEnv)
char ** args2argv (const char *args, char **argv, char *exe)

Variables

FILE * logfile


Typedef Documentation

typedef unsigned int BYTE

Definition at line 12 of file daemon.c.


Function Documentation

int abort_writelog ( int  code,
const char *  msg 
)

Definition at line 27 of file daemon.c.

References logfile.

Referenced by main().

char startProgram ( const char *  exeName,
const char *  args,
const char *  cwd,
char *  env 
)

Definition at line 200 of file daemon.c.

References daemon_err2status(), daemon_status2msg(), envCat(), logfile, and statusCode.

Referenced by main().

void goFaceless ( void   ) 

Definition at line 172 of file daemon.c.

References printf(), and sleep().

Referenced by main().

int main (  ) 

void envCat ( char *  dest,
LPTSTR  oldEnv 
)

Definition at line 184 of file daemon.c.

Referenced by arg_init(), and startProgram().

char** args2argv ( const char *  args,
char **  argv,
char *  exe 
)

Definition at line 270 of file daemon.c.

References malloc().


Variable Documentation

FILE* logfile

Definition at line 25 of file daemon.c.

Referenced by abort_writelog(), main(), and startProgram().


Generated on Fri May 25 08:00:42 2012 for Charm++ by  doxygen 1.5.5