source: rtems/cpukit/libfs/src/defaults/default_fsync_success.c @ 4116fce6

4.11
Last change on this file since 4116fce6 was 4116fce6, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 24, 2012 at 4:39:27 PM

Filesystem: New defaults fsync_h and fdatasync_h

New defaults rtems_filesystem_default_fsync_or_fdatasync() and
rtems_filesystem_default_fsync_or_fdatasync_success() for fsync_h and
fdatasync_h. The rtems_filesystem_default_fsync_or_fdatasync() sets now
errno to EINVAL according to POSIX.

  • Property mode set to 100644
File size: 517 bytes
Line 
1/*
2 * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Obere Lagerstr. 30
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14
15#if HAVE_CONFIG_H
16  #include "config.h"
17#endif
18
19#include <rtems/libio_.h>
20
21int rtems_filesystem_default_fsync_or_fdatasync_success(
22  rtems_libio_t *iop
23)
24{
25  return 0;
26}
Note: See TracBrowser for help on using the repository browser.