Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posix: features: define _POSIX_SUBPROFILE #83655

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ycsin
Copy link
Member

@ycsin ycsin commented Jan 7, 2025

As our implementations do not meet all of the requirements of a POSIX.1-conforming implementation.

See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap02.html#tag_02_01_05_02:

Profiles shall require the definition of the macro _POSIX_SUBPROFILE in <unistd.h> on implementations that do not meet all of the requirements of a POSIX.1-conforming implementation.

@ycsin ycsin requested a review from cfriedt January 7, 2025 15:06
@zephyrbot zephyrbot added the area: POSIX POSIX API Library label Jan 7, 2025
/*
* Subprofiling Considerations
*/
#define _POSIX_SUBPROFILE 1
Copy link
Member

@cfriedt cfriedt Jan 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be located under this heading, above

/*
 * POSIX Application Environment Profiles (AEP - IEEE Std 1003.13-2003)
 */

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

As our implementations do not meet all of the requirements of a
POSIX.1-conforming implementation.

Signed-off-by: Yong Cong Sin <[email protected]>
@ycsin ycsin force-pushed the pr/posix-_POSIX_SUBPROFILE branch from 014cc18 to ff3abb8 Compare January 11, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: POSIX POSIX API Library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants