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

@ -2,6 +2,8 @@
#
# SPDX-License-Identifier: Apache-2.0
menu "X/Open system interfaces"
config XSI_SINGLE_PROCESS
bool "X/Open single process"
default y if POSIX_API
@ -14,6 +16,16 @@ config XSI_SINGLE_PROCESS
For more information, please see
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html
config XOPEN_STREAMS
bool "X/Open streams"
default y if POSIX_API
help
This option provides support for the X/Open Streams interface, including functions such as
fattach(), fdetach(), getmsg(), getpmsg(), putmsg(), and putpmsg().
For more information, please see
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap02.html#tag_02_01_05_09
config XSI_SYSTEM_LOGGING
bool "X/Open system logging"
default y if POSIX_API
@ -23,3 +35,5 @@ config XSI_SYSTEM_LOGGING
For more information, please see
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html
endmenu