18 #ifndef _AVRIO_FILE_H_ 19 #define _AVRIO_FILE_H_ 21 #include <avrio/defs.h> 46 #define O_RDWR (O_RD|O_WR) 47 #define O_HDUPLEX 0x0004 48 #define O_NONBLOCK 0x0008 50 #define O_MALLOC 0x2000 52 #define O_APPEND 0x8000 62 #define FIOFLUSH 0x0001 63 #define FIONREAD 0x0002 64 #define FIOGETS 0x0003 65 #define FIOSETS 0x0004 79 FILE *
xFileOpen (
const char * path,
int flag,
void * settings);
96 # if defined(__DOXYGEN__) int iFileClose(FILE *f)
Fermeture d'un fichier.
FILE * xFileOpen(const char *path, int flag, void *settings)
Ouverture d'un fichier.
static int iFileSetSettings(FILE *f, const void *settings)
Lecture de la configuration.
int iFileIoctl(FILE *f, int c,...)
Fonction de contrôle.
static int iFileFlush(FILE *f)
Vidage des buffers.
static int iFileDataAvailable(FILE *f)
Nombre de caractères reçus.
static int iFileGetSettings(FILE *f, void *settings)
Modification de la configuration.