diff options
Diffstat (limited to 'cpukit/libfs/src/defaults/default_lseek.c')
-rw-r--r-- | cpukit/libfs/src/defaults/default_lseek.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cpukit/libfs/src/defaults/default_lseek.c b/cpukit/libfs/src/defaults/default_lseek.c new file mode 100644 index 0000000000..21ae23ee93 --- /dev/null +++ b/cpukit/libfs/src/defaults/default_lseek.c @@ -0,0 +1,23 @@ +/* + * COPYRIGHT (c) 2010. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#include <rtems/libio.h> +#include <rtems/libio_.h> +#include <rtems/seterr.h> + +rtems_off64_t rtems_filesystem_default_lseek( + rtems_libio_t *iop, + rtems_off64_t length, + int whence +) +{ + rtems_set_errno_and_return_minus_one( ENOTSUP ); +} |