rs232d.c File Reference

Go to the source code of this file.

Defines

#define BUFFERSIZE   128
#define TCPPORT   23

Functions

void StreamCopy (FILE *istream, FILE *ostream, char *cop)
void Receiver (void *arg)
int main (void)

Define Documentation

#define BUFFERSIZE   128
Examples:
rs232d/rs232d.c.

Definition at line 100 of file rs232d.c.

Referenced by StreamCopy().

#define TCPPORT   23
Examples:
rs232d/rs232d.c.

Definition at line 101 of file rs232d.c.

Referenced by main().


Function Documentation

void StreamCopy ( FILE istream,
FILE ostream,
char *  cop 
)
Examples:
rs232d/rs232d.c.

Definition at line 112 of file rs232d.c.

References BUFFERSIZE, fflush(), fread(), free, fwrite(), and malloc.

Referenced by main(), and Receiver().

void Receiver ( void *  arg  ) 
Examples:
rs232d/rs232d.c.

Definition at line 133 of file rs232d.c.

References NutThreadSetPriority(), NutThreadYield(), and StreamCopy().

Referenced by main().

int main ( void   ) 

© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/