source: rtems/cpukit/libfs/src/defaults/default_fstat.c @ 8587b01

4.11
Last change on this file since 8587b01 was 8587b01, checked in by Ayush Awasthi <kolaveridi87@…>, on Dec 28, 2012 at 2:26:30 PM

libfs: Doxygen Enhancement Task #4

  • Property mode set to 100644
File size: 611 bytes
Line 
1/**
2 * @file
3 *
4 * @brief RTEMS Default File System gets file status
5 * @ingroup LibIOFSOps File System Operations 
6 */
7
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
17#if HAVE_CONFIG_H
18  #include "config.h"
19#endif
20
21#include <rtems/libio_.h>
22
23int rtems_filesystem_default_fstat(
24  const rtems_filesystem_location_info_t *loc,
25  struct stat *buf
26)
27{
28  buf->st_mode = S_IRWXU | S_IRWXG | S_IRWXO;
29
30  return 0;
31}
Note: See TracBrowser for help on using the repository browser.