1# Copyright (c) 2024 BayLibre SAS 2# 3# SPDX-License-Identifier: Apache-2.0 4 5menu "Sysconf support" 6 7config POSIX_SYSCONF 8 bool "Support for sysconf" 9 default y if POSIX_API 10 help 11 The sysconf() function provides a method for the application to determine 12 the current value of a configurable system limit or option (variable). 13 14config POSIX_PAGE_SIZE_BITS 15 int "Number of bits to use for PAGE_SIZE" 16 range 6 16 17 default 12 if POSIX_API 18 default 6 19 help 20 Define PAGE_SIZE as BIT(n), where n is the value configured here. 21 PAGE_SIZE is supported in the range [64, 65536] 22 If CONFIG_POSIX_API=y, PAGE_SIZE defaults to 4096, otherwise, it is 64 bytes. 23 24endmenu # "Sysconf support" 25