source: rtems/cpukit/libfs/src/defaults/default_lseek.c @ 183af89

4.115
Last change on this file since 183af89 was a76c2373, checked in by Sebastian Huber <sebastian.huber@…>, on 02/24/12 at 08:54:44

Filesystem: Change error indication

Change error indication to ESPIPE in rtems_filesystem_default_lseek().

  • Property mode set to 100644
File size: 499 bytes
Line 
1/*
2 *  COPYRIGHT (c) 2010.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13  #include "config.h"
14#endif
15
16#include <rtems/libio_.h>
17
18off_t rtems_filesystem_default_lseek(
19  rtems_libio_t *iop,
20  off_t          offset,
21  int            whence
22)
23{
24  rtems_set_errno_and_return_minus_one( ESPIPE );
25}
Note: See TracBrowser for help on using the repository browser.