zephyr/lib/posix/options/Kconfig.fs
Chris Friedt b1e2e4ac2c posix: fs: create a separate Kconfig option for fsync
Create CONFIG_POSIX_FSYNC to match the spec.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-05-07 21:22:56 -04:00

28 lines
593 B
GLSL

# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
menuconfig POSIX_FS
bool "POSIX file system API support"
default y if POSIX_API
depends on FILE_SYSTEM
select FDTABLE
help
This enables POSIX style file system related APIs.
if POSIX_FS
config POSIX_MAX_OPEN_FILES
int "Maximum number of open file descriptors"
default 16
help
Maximum number of open files. Note that this setting
is additionally bounded by CONFIG_POSIX_MAX_FDS.
config POSIX_FSYNC
bool "Support for fsync()"
default y
help
This enables fsync() support.
endif # POSIX_FS