CONFIG_POSIX_MAX_OPEN_FILES

Maximum number of open file descriptors

Type: int

Help

Maximum number of open files. Note that this setting
is additionally bounded by CONFIG_POSIX_MAX_FDS.

Direct dependencies

POSIX_FS

(Includes any dependencies from ifs and menus.)

Default

  • 16

Kconfig definition

At <Zephyr>/lib/posix/Kconfig:94

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:43<Zephyr>/lib/Kconfig:12

Menu path: (Top) → Additional libraries → Enable POSIX file system API support

config POSIX_MAX_OPEN_FILES
    int "Maximum number of open file descriptors"
    default 16
    depends on POSIX_FS
    help
      Maximum number of open files. Note that this setting
      is additionally bounded by CONFIG_POSIX_MAX_FDS.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)