source:
rtems/cpukit/libfs/src/defaults/default_lseek.c
@
8587b01
Last change on this file since 8587b01 was 8587b01, checked in by Ayush Awasthi <kolaveridi87@…>, on 12/28/12 at 14:26:30 | |
---|---|
|
|
File size: 628 bytes |
Rev | Line | |
---|---|---|
[8587b01] | 1 | /** |
2 | * @file | |
3 | * | |
4 | * @brief RTEMS Default File System reposits the read/write file offset | |
5 | * @ingroup LibIOFSOps File System Operations | |
6 | */ | |
7 | ||
[f9a4e80] | 8 | /* |
9 | * COPYRIGHT (c) 2010. | |
10 | * On-Line Applications Research Corporation (OAR). | |
11 | * | |
12 | * The license and distribution terms for this file may be | |
13 | * found in the file LICENSE in this distribution or at | |
14 | * http://www.rtems.com/license/LICENSE. | |
15 | */ | |
16 | ||
[a76c2373] | 17 | #if HAVE_CONFIG_H |
18 | #include "config.h" | |
19 | #endif | |
20 | ||
[f9a4e80] | 21 | #include <rtems/libio_.h> |
22 | ||
[e4c0a04b] | 23 | off_t rtems_filesystem_default_lseek( |
[f9a4e80] | 24 | rtems_libio_t *iop, |
[a76c2373] | 25 | off_t offset, |
[f9a4e80] | 26 | int whence |
27 | ) | |
28 | { | |
[a76c2373] | 29 | rtems_set_errno_and_return_minus_one( ESPIPE ); |
[f9a4e80] | 30 | } |
Note: See TracBrowser
for help on using the repository browser.