Changeset b799e4eb in rtems
- Timestamp:
- 11/06/11 11:50:21 (12 years ago)
- Branches:
- 4.11, 5, master
- Children:
- e4c0a04b
- Parents:
- e3865876
- Location:
- cpukit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
re3865876 rb799e4eb 1 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org> 2 3 PR1945/cpukit 4 * libcsupport/include/rtems/libio.h: Mark rtems_off64_t as 5 deprecated. 6 Replace rtems_off64_t with off_t. 7 1 8 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org> 2 9 -
cpukit/libcsupport/include/rtems/libio.h
re3865876 rb799e4eb 50 50 */ 51 51 52 /** 53 * A 64-bit file offset for internal use by RTEMS. Based on the Newlib 54 * type. 55 */ 56 typedef _off64_t rtems_off64_t; 52 typedef off_t rtems_off64_t __attribute__((deprecated)); 57 53 58 54 /** … … 127 123 * support which is provided by a file system implementation. 128 124 */ 129 typedef rtems_off64_t (*rtems_filesystem_lseek_t)(125 typedef off_t (*rtems_filesystem_lseek_t)( 130 126 rtems_libio_t *iop, 131 rtems_off64_tlength,127 off_t length, 132 128 int whence 133 129 ); … … 157 153 typedef int (*rtems_filesystem_ftruncate_t)( 158 154 rtems_libio_t *iop, 159 rtems_off64_tlength155 off_t length 160 156 ); 161 157 … … 418 414 * support which is provided by a file system implementation. 419 415 */ 420 rtems_off64_t rtems_filesystem_default_lseek(416 off_t rtems_filesystem_default_lseek( 421 417 rtems_libio_t *iop, 422 rtems_off64_tlength,418 off_t length, 423 419 int whence 424 420 ); … … 448 444 int rtems_filesystem_default_ftruncate( 449 445 rtems_libio_t *iop, 450 rtems_off64_tlength446 off_t length 451 447 ); 452 448 … … 1113 1109 struct rtems_libio_tt { 1114 1110 rtems_driver_name_t *driver; 1115 rtems_off64_tsize; /* size of file */1116 rtems_off64_toffset; /* current offset into file */1111 off_t size; /* size of file */ 1112 off_t offset; /* current offset into file */ 1117 1113 uint32_t flags; 1118 1114 rtems_filesystem_location_info_t pathinfo; … … 1130 1126 typedef struct { 1131 1127 rtems_libio_t *iop; 1132 rtems_off64_toffset;1128 off_t offset; 1133 1129 char *buffer; 1134 1130 uint32_t count; … … 1209 1205 ); 1210 1206 1211 typedef rtems_off64_t (*rtems_libio_lseek_t)(1207 typedef off_t (*rtems_libio_lseek_t)( 1212 1208 int fd, 1213 rtems_off64_toffset,1209 off_t offset, 1214 1210 int whence 1215 1211 );
Note: See TracChangeset
for help on using the changeset viewer.