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 && FILE_SYSTEM

(Includes any dependencies from ifs and menus.)

Default

  • 16

Kconfig definition

At lib/posix/Kconfig:95

Included via Kconfig:8Kconfig.zephyr:42lib/Kconfig:16

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 && FILE_SYSTEM
    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.)