posix: deprecate POSIX_PUTMSG for XOPEN_STREAMS

This change deprecates CONFIG_POSIX_PUTMSG and introduces a new
Kconfig option CONFIG_XOPEN_STREAMS which maps directly to the
standard POSIX Option, _XOPEN_STREAMS.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2024-05-22 23:00:40 -04:00 committed by David Leach
commit 2f2cad742e
8 changed files with 28 additions and 14 deletions

View file

@ -129,6 +129,15 @@ config POSIX_MQUEUE
Please use CONFIG_POSIX_MESSAGE_PASSING instead.
config POSIX_PUTMSG
bool "Support for putmsg function [DEPRECATED]"
select DEPRECATED
select XOPEN_STREAMS
help
This option is deprecated.
Please use CONFIG_XOPEN_STREAMS instead.
config POSIX_SYSCONF
bool "Support for sysconf() [DEPRECATED]"
select DEPRECATED