1 /* 2 * Internal library header file for CPC fcntl routines 3 * 4 * Routines donated by **_warp6_** <kbaccam@free.fr> 5 * 6 * $Id: cpcfcntl.h,v 1.1 2003-09-12 16:30:43 dom Exp $ 7 */ 8 9 #ifndef __FCNTL_CPCFCNTL_H__ 10 #define __FCNTL_CPCFCNTL_H__ 11 12 #include <sys/types.h> 13 14 typedef struct { 15 u8_t in_used; 16 u8_t out_used; 17 char in_buf[2048]; 18 char out_buf[2048]; 19 } cpc_fd; 20 21 extern cpc_fd cpcfile; 22 23 extern int __LIB__ cpc_openin(char *name, int namelen,char *buf); 24 extern int __LIB__ cpc_openout(char *name, int namelen,char *buf); 25 extern int __LIB__ cpc_closein(); 26 extern int __LIB__ cpc_closeout(); 27 28 #endif /* __FCNTL_CPCFCNTL_H__ */ 29