30 lines
756 B
Forth
30 lines
756 B
Forth
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig POSIX_FILE_SYSTEM
|
|
bool "POSIX file system API support"
|
|
default y if POSIX_API
|
|
select FILE_SYSTEM
|
|
select FDTABLE
|
|
help
|
|
This enables POSIX style file system related APIs.
|
|
|
|
if POSIX_FILE_SYSTEM
|
|
|
|
config POSIX_FILE_SYSTEM_ALIAS_FSTAT
|
|
bool
|
|
help
|
|
Select 'y' here and Zephyr will provide an alias for fstat() as _fstat().
|
|
|
|
config POSIX_FILE_SYSTEM_R
|
|
bool "Thread-Safe File System"
|
|
help
|
|
Select 'y' here and Zephyr will provide an implementation of the POSIX_FILE_SYSTEM_R
|
|
Option Group, consisting of readdir_r().
|
|
|
|
For more informnation, please see
|
|
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html
|
|
|
|
endif # POSIX_FILE_SYSTEM
|