4.115
Rev | Line | |
---|
[8587b01] | 1 | /** |
---|
| 2 | * @file |
---|
| 3 | * |
---|
| 4 | * @brief RTEMS Default File System gets file status |
---|
| 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 | |
---|
[3b7c123] | 17 | #if HAVE_CONFIG_H |
---|
| 18 | #include "config.h" |
---|
| 19 | #endif |
---|
| 20 | |
---|
[f9a4e80] | 21 | #include <rtems/libio_.h> |
---|
| 22 | |
---|
| 23 | int rtems_filesystem_default_fstat( |
---|
[3b7c123] | 24 | const rtems_filesystem_location_info_t *loc, |
---|
| 25 | struct stat *buf |
---|
[f9a4e80] | 26 | ) |
---|
| 27 | { |
---|
[3b7c123] | 28 | buf->st_mode = S_IRWXU | S_IRWXG | S_IRWXO; |
---|
| 29 | |
---|
| 30 | return 0; |
---|
[f9a4e80] | 31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.