Mercurial > ecos-v3_0-branch
comparison packages/io/fileio/current/include/fileio.h @ 130:eb9fd8c04db3 ecos-sw-2000-10-23
Merge from eCos master repository on 2000-10-23-17:01:37-BST
| author | jlarmour |
|---|---|
| date | Mon, 23 Oct 2000 17:10:57 +0000 |
| parents | 0c2b7be0d798 |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 129:605a0fc6f385 | 130:eb9fd8c04db3 |
|---|---|
| 251 #define UIO_SMALLIOV 8 /* 8 on stack, else malloc */ | 251 #define UIO_SMALLIOV 8 /* 8 on stack, else malloc */ |
| 252 | 252 |
| 253 //============================================================================= | 253 //============================================================================= |
| 254 // Description of open file | 254 // Description of open file |
| 255 | 255 |
| 256 typedef int cyg_fileop_read (struct CYG_FILE_TAG *fp, struct CYG_UIO_TAG *uio); | 256 typedef int cyg_fileop_readwrite (struct CYG_FILE_TAG *fp, struct CYG_UIO_TAG *uio); |
| 257 typedef int cyg_fileop_write (struct CYG_FILE_TAG *fp, struct CYG_UIO_TAG *uio); | 257 typedef cyg_fileop_readwrite cyg_fileop_read; |
| 258 typedef cyg_fileop_readwrite cyg_fileop_write; | |
| 258 typedef int cyg_fileop_lseek (struct CYG_FILE_TAG *fp, off_t *pos, int whence ); | 259 typedef int cyg_fileop_lseek (struct CYG_FILE_TAG *fp, off_t *pos, int whence ); |
| 259 typedef int cyg_fileop_ioctl (struct CYG_FILE_TAG *fp, CYG_ADDRWORD com, | 260 typedef int cyg_fileop_ioctl (struct CYG_FILE_TAG *fp, CYG_ADDRWORD com, |
| 260 CYG_ADDRWORD data); | 261 CYG_ADDRWORD data); |
| 261 typedef int cyg_fileop_select (struct CYG_FILE_TAG *fp, int which, CYG_ADDRWORD info); | 262 typedef int cyg_fileop_select (struct CYG_FILE_TAG *fp, int which, CYG_ADDRWORD info); |
| 262 typedef int cyg_fileop_fsync (struct CYG_FILE_TAG *fp, int mode ); | 263 typedef int cyg_fileop_fsync (struct CYG_FILE_TAG *fp, int mode ); |
