posix: deprecate POSIX_FNMATCH GETOPT GETENTROPY

The functions fnmatch(), getopt(), getentropy()
and others are grouped into the standard Option Group
POSIX_C_LIB_EXT.

The getentropy() function is currently in-draft for
Issue 8 as of 2021.

https://www.opengroup.org/austin/docs/austin_1110.pdf

Not surprisingly, the POSIX_C_LIB_EXT Option Group
also includes the highly debated strnlen() function.

Moving that function will be deferred until later.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2024-05-22 19:44:17 -04:00 committed by David Leach
commit 2bc722a97e
24 changed files with 115 additions and 104 deletions

View file

@ -6,6 +6,33 @@
menu "Deprecated POSIX options"
config FNMATCH
bool "Support for fnmatch [DEPRECATED]"
select DEPRECATED
select POSIX_C_LIB_EXT
help
This option is deprecated.
Please use CONFIG_POSIX_C_LIB_EXT instead.
config GETENTROPY
bool "Support for getentropy [DEPRECATED]"
select DEPRECATED
select POSIX_C_LIB_EXT
help
This option is deprecated.
Please use CONFIG_POSIX_C_LIB_EXT instead.
config GETOPT
bool "Getopt library support [DEPRECATED]"
select DEPRECATED
select POSIX_C_LIB_EXT
help
This option is deprecated.
Please use CONFIG_POSIX_C_LIB_EXT instead.
config MAX_TIMER_COUNT
int "Maximum number of timer_t [DEPRECATED]"
default POSIX_TIMER_MAX if POSIX_TIMERS