Changeset adef4e4 in rtems


Ignore:
Timestamp:
Feb 24, 2012, 8:53:22 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
a76c2373
Parents:
3ba4f828
git-author:
Sebastian Huber <sebastian.huber@…> (02/24/12 08:53:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/13/12 11:23:45)
Message:

Filesystem: New function

New function rtems_filesystem_default_lseek_success().

Location:
cpukit
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/include/rtems/libio.h

    r3ba4f828 radef4e4  
    845845 *
    846846 * @param[in, out] iop The IO pointer.
    847  * @param[in] offset The new offset.
    848  * @param[in] whence The reference position of the new offset.
     847 * @param[in] offset The offset.
     848 * @param[in] whence The reference position for the offset.
    849849 *
    850850 * @retval non-negative The new offset from the beginning of the file.
    851851 * @retval -1 An error occured.  The errno is set to indicate the error.
    852852 *
    853  * @see rtems_filesystem_default_lseek().
     853 * @see rtems_filesystem_default_lseek() and
     854 * rtems_filesystem_default_lseek_success().
    854855 */
    855856typedef off_t (*rtems_filesystem_lseek_t)(
     
    10201021off_t rtems_filesystem_default_lseek(
    10211022  rtems_libio_t *iop,
    1022   off_t          length,
     1023  off_t          offset,
     1024  int            whence
     1025);
     1026
     1027/**
     1028 * @retval 0 Always.
     1029 *
     1030 * @see rtems_filesystem_lseek_t.
     1031 */
     1032off_t rtems_filesystem_default_lseek_success(
     1033  rtems_libio_t *iop,
     1034  off_t          offset,
    10231035  int            whence
    10241036);
  • cpukit/libfs/Makefile.am

    r3ba4f828 radef4e4  
    2222    src/defaults/default_fcntl.c src/defaults/default_fsmount.c \
    2323    src/defaults/default_ftruncate.c src/defaults/default_lseek.c \
     24    src/defaults/default_lseek_success.c \
    2425    src/defaults/default_readlink.c src/defaults/default_statvfs.c \
    2526    src/defaults/default_utime.c \
Note: See TracChangeset for help on using the changeset viewer.