source: rtems/cpukit/libfs/src/defaults/default_ftruncate_directory.c @ 3c96bee

4.115
Last change on this file since 3c96bee was 4e59276, checked in by Mathew Kallada <matkallada@…>, on 12/28/12 at 14:05:20

libfs: Doxygen Enhancement Task #5

  • Property mode set to 100644
File size: 694 bytes
Line 
1/**
2 * @file
3 *
4 * @brief RTEMS Default Filesystem - Default Ftruncate Directory
5 * @ingroup libfs
6 */
7
8/*
9 * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
10 *
11 *  embedded brains GmbH
12 *  Obere Lagerstr. 30
13 *  82178 Puchheim
14 *  Germany
15 *  <rtems@embedded-brains.de>
16 *
17 * The license and distribution terms for this file may be
18 * found in the file LICENSE in this distribution or at
19 * http://www.rtems.com/license/LICENSE.
20 */
21
22#if HAVE_CONFIG_H
23  #include "config.h"
24#endif
25
26#include <rtems/libio_.h>
27#include <rtems/seterr.h>
28
29int rtems_filesystem_default_ftruncate_directory(
30  rtems_libio_t *iop,
31  off_t length
32)
33{
34  rtems_set_errno_and_return_minus_one( EISDIR );
35}
Note: See TracBrowser for help on using the repository browser.