Go to the source code of this file.
Functions | |
int | RedirectPrintf (char *aMessagePtr,...) |
int | main (void) |
Variables | |
FILE * | fpDebug = NULL |
char * | logFileName = "c:\\logs\\trace.txt" |
const char * | anotherLogFile = "c:\\logs\\newlog.txt" |
Contained the implementation of how to redirect stdout into a file.
Definition in file redirectprintf.c.
int RedirectPrintf | ( | char * | aMessagePtr, | |
... | ||||
) |
Use to redirect the printf statements
aMessagePtr | pointer to the message | |
... | Variable parameters like printf |
Definition at line 35 of file redirectprintf.c.
int main | ( | void | ) |
application entry point
Definition at line 56 of file redirectprintf.c.