PPL Logo

util/charmrun-src/daemon.C File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int BYTE

Functions

int abort_writelog (SOCKET skt, 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)
const char ** args2argv (const char *args, const char **argv, const char *exe)

Variables

FILE * logfile


Typedef Documentation

typedef unsigned char BYTE

Definition at line 15 of file daemon.C.


Function Documentation

int abort_writelog ( SOCKET  skt,
int  code,
const char *  msg 
)

Definition at line 30 of file daemon.C.

References logfile.

Referenced by main().

Here is the caller graph for this function:

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

Definition at line 203 of file daemon.C.

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

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void goFaceless ( void   ) 

Definition at line 175 of file daemon.C.

References sleep().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int main (  ) 

void envCat ( char *  dest,
LPTSTR  oldEnv 
)

Definition at line 187 of file daemon.C.

References src.

Referenced by arg_init(), and startProgram().

Here is the caller graph for this function:

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

Definition at line 273 of file daemon.C.

References argc, len, and malloc().

Here is the call graph for this function:


Variable Documentation

FILE* logfile

Definition at line 28 of file daemon.C.

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


Generated on Mon Sep 21 08:11:32 2020 for Charm++ by  doxygen 1.5.5