examples/PIPS/redirectprintf/src/redirectprintf.c File Reference

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"

Detailed Description

Contained the implementation of how to redirect stdout into a file.

Definition in file redirectprintf.c.


Function Documentation

int RedirectPrintf ( char *  aMessagePtr,
  ... 
)

Use to redirect the printf statements

Parameters:
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.


Generated by  doxygen 1.6.2