www.pudn.com > tcpipstack.rar > FILEIO.H


/* FILEIO.H - definitions for simple file I/O 
 
|===================================================================| 
|  My changes can be considered public domain.  Geof's statement    | 
|  will cover everything.                                           | 
|              - Rick Rodman 09/02/97                               | 
|===================================================================| 
 
	940513	rr	initial file 
*/ 
 
#define	MY_OPEN_READ	0 
#define	MY_OPEN_WRITE	1 
 
/* watch the syntax on this one */ 
 
#define	FH		Void * 
 
FH	my_open P(( char *p_filename, int open_mode )); 
Void	my_close P(( FH fh )); 
unsigned short my_read 
	P(( FH fh, unsigned char *p_buffer, unsigned short u_bytes )); 
unsigned short my_write 
	P(( FH fh, unsigned char *p_buffer, unsigned short u_bytes )); 
 
/* end of fileio.h */