source: rtems/cpukit/libfs/src/defaults/default_ftruncate_directory.c @ 3393ff1d

Last change on this file since 3393ff1d was 3393ff1d, checked in by Sebastian Huber <sebastian.huber@…>, on 12/02/20 at 12:10:49

libfs: Fix Doxygen group placement

Update #3706.

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