The latest development version of this page may be more current than this released 2.7.5 version.

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 lib/posix/Kconfig:95

Included via Kconfig:8Kconfig.zephyr:43lib/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.)