RCS file: /usr1/CVS/rtems/cpukit/libfs/src/dosfs/fat_file.c,v
retrieving revision 1.12
diff -u -r1.12 fat_file.c
|
|
|
49 | 49 | fat_file_fd_t **ret |
50 | 50 | ); |
51 | 51 | |
52 | | static int |
| 52 | static off_t |
53 | 53 | fat_file_lseek( |
54 | 54 | rtems_filesystem_mount_table_entry_t *mt_entry, |
55 | 55 | fat_file_fd_t *fat_fd, |
… |
… |
|
940 | 940 | return -1; |
941 | 941 | } |
942 | 942 | |
943 | | static int |
| 943 | static off_t |
944 | 944 | fat_file_lseek( |
945 | 945 | rtems_filesystem_mount_table_entry_t *mt_entry, |
946 | 946 | fat_file_fd_t *fat_fd, |
RCS file: /usr1/CVS/rtems/cpukit/libfs/src/dosfs/msdos.h,v
retrieving revision 1.17
diff -u -r1.17 msdos.h
|
|
|
258 | 258 | size_t count /* IN */ |
259 | 259 | ); |
260 | 260 | |
261 | | int msdos_file_lseek( |
| 261 | off_t msdos_file_lseek( |
262 | 262 | rtems_libio_t *iop, /* IN */ |
263 | 263 | off_t offset, /* IN */ |
264 | 264 | int whence /* IN */ |
… |
… |
|
308 | 308 | size_t count /* IN */ |
309 | 309 | ); |
310 | 310 | |
311 | | int msdos_dir_lseek( |
| 311 | off_t msdos_dir_lseek( |
312 | 312 | rtems_libio_t *iop, /* IN */ |
313 | 313 | off_t offset, /* IN */ |
314 | 314 | int whence /* IN */ |
RCS file: /usr1/CVS/rtems/cpukit/libfs/src/dosfs/msdos_dir.c,v
retrieving revision 1.12
diff -u -r1.12 msdos_dir.c
|
|
|
363 | 363 | * RC_OK on success, or -1 if error occured (errno |
364 | 364 | * set apropriately). |
365 | 365 | */ |
366 | | int |
| 366 | off_t |
367 | 367 | msdos_dir_lseek(rtems_libio_t *iop, off_t offset, int whence) |
368 | 368 | { |
369 | 369 | switch (whence) |
RCS file: /usr1/CVS/rtems/cpukit/libfs/src/dosfs/msdos_file.c,v
retrieving revision 1.10
diff -u -r1.10 msdos_file.c
|
|
|
223 | 223 | * new offset on success, or -1 if error occured (errno set |
224 | 224 | * appropriately). |
225 | 225 | */ |
226 | | int |
| 226 | off_t |
227 | 227 | msdos_file_lseek(rtems_libio_t *iop, off_t offset, int whence) |
228 | 228 | { |
229 | 229 | int rc = RC_OK; |
RCS file: /usr1/CVS/rtems/cpukit/libfs/src/imfs/deviceio.c,v
retrieving revision 1.16
diff -u -r1.16 deviceio.c
|
|
|
235 | 235 | * This handler eats all lseek() operations. |
236 | 236 | */ |
237 | 237 | |
238 | | int device_lseek( |
| 238 | off_t device_lseek( |
239 | 239 | rtems_libio_t *iop, |
240 | 240 | off_t offset, |
241 | 241 | int whence |
RCS file: /usr1/CVS/rtems/cpukit/libfs/src/imfs/imfs.h,v
retrieving revision 1.31
diff -u -r1.31 imfs.h
|
|
|
391 | 391 | size_t count /* IN */ |
392 | 392 | ); |
393 | 393 | |
394 | | int imfs_dir_lseek( |
| 394 | off_t imfs_dir_lseek( |
395 | 395 | rtems_libio_t *iop, /* IN */ |
396 | 396 | off_t offset, /* IN */ |
397 | 397 | int whence /* IN */ |
… |
… |
|
435 | 435 | void *buffer /* IN */ |
436 | 436 | ); |
437 | 437 | |
438 | | int memfile_lseek( |
| 438 | off_t memfile_lseek( |
439 | 439 | rtems_libio_t *iop, /* IN */ |
440 | 440 | off_t offset, /* IN */ |
441 | 441 | int whence /* IN */ |
… |
… |
|
474 | 474 | void *buffer /* IN */ |
475 | 475 | ); |
476 | 476 | |
477 | | int device_lseek( |
| 477 | off_t device_lseek( |
478 | 478 | rtems_libio_t *iop, /* IN */ |
479 | 479 | off_t offset, /* IN */ |
480 | 480 | int whence /* IN */ |
RCS file: /usr1/CVS/rtems/cpukit/libfs/src/imfs/imfs_directory.c,v
retrieving revision 1.21
diff -u -r1.21 imfs_directory.c
|
|
|
182 | 182 | * SEEK_END - N/A --> This will cause an assert. |
183 | 183 | */ |
184 | 184 | |
185 | | int imfs_dir_lseek( |
| 185 | off_t imfs_dir_lseek( |
186 | 186 | rtems_libio_t *iop, |
187 | 187 | off_t offset, |
188 | 188 | int whence |
RCS file: /usr1/CVS/rtems/cpukit/libfs/src/imfs/memfile.c,v
retrieving revision 1.27
diff -u -r1.27 memfile.c
|
|
|
214 | 214 | * This routine processes the lseek() system call. |
215 | 215 | */ |
216 | 216 | |
217 | | int memfile_lseek( |
| 217 | off_t memfile_lseek( |
218 | 218 | rtems_libio_t *iop, |
219 | 219 | off_t offset, |
220 | 220 | int whence |
RCS file: /usr1/CVS/rtems/cpukit/libfs/src/nfsclient/src/nfs.c,v
retrieving revision 1.7
diff -u -r1.7 nfs.c
|
|
|
2747 | 2747 | #define nfs_link_ioctl 0 |
2748 | 2748 | #endif |
2749 | 2749 | |
2750 | | static int nfs_file_lseek( |
| 2750 | static off_t nfs_file_lseek( |
2751 | 2751 | rtems_libio_t *iop, |
2752 | 2752 | off_t length, |
2753 | 2753 | int whence |
… |
… |
|
2780 | 2780 | return iop->offset; |
2781 | 2781 | } |
2782 | 2782 | |
2783 | | static int nfs_dir_lseek( |
| 2783 | static off_t nfs_dir_lseek( |
2784 | 2784 | rtems_libio_t *iop, |
2785 | 2785 | off_t length, |
2786 | 2786 | int whence |
RCS file: /usr1/CVS/rtems/cpukit/libcsupport/include/rtems/libio.h,v
retrieving revision 1.53
diff -u -r1.53 libio.h
|
|
|
83 | 83 | void *buffer |
84 | 84 | ); |
85 | 85 | |
86 | | typedef int (*rtems_filesystem_lseek_t)( |
| 86 | typedef off_t (*rtems_filesystem_lseek_t)( |
87 | 87 | rtems_libio_t *iop, |
88 | 88 | off_t length, |
89 | 89 | int whence |