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

[Question] RTT 遵循的 POSIX 规范版本是多少? #9845

Open
unicornx opened this issue Dec 30, 2024 · 4 comments
Open

[Question] RTT 遵循的 POSIX 规范版本是多少? #9845

unicornx opened this issue Dec 30, 2024 · 4 comments

Comments

@unicornx
Copy link
Contributor

unicornx commented Dec 30, 2024

阅读了 https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/programming-manual/libc/introduction?id=_3-posix-%e6%a0%87%e5%87%86 和代码。

但是看不出来 RTT 目前支持的 POSIX.1 (IEEE 1003.1) 是哪个版本?2001/2008/... 还是最新的?

建议固定明确一个,这样后面做 utest 的时候也可以有明确的目标。

另外有关对 1003.13 的支持情况,也想问问 RTT 是遵循的哪个版本?

@BernardXiong
Copy link
Member

应该是没有一个明确的版本,更多在于对PSE51 - PSE54的支持,内核上希望做到对PSE51的全覆盖支持。

@unicornx
Copy link
Contributor Author

unicornx commented Dec 31, 2024

2008

要不先固定为 2008?定下来也好衡量测试用例的标准。目前在评估 utest 的工作。

另外发现 PSE 的标准,也就是 POSIX 1003.12 的文本不是免费的,这个哪里可以获得呢?

@BernardXiong
Copy link
Member

感觉可能更偏2003标准,

https://posix.opengroup.org/certification_guide.html

image

@unicornx
Copy link
Contributor Author

unicornx commented Jan 2, 2025

感觉可能更偏2003标准,

看了一下 https://posix.opengroup.org/

"1003.1™-2016 Base" 和 "1003.1™-2003 Base" 看上去是两个认证项目的名字,它们和 POSIX 标准的对应关系分别是:

  • "1003.1™-2016 Base" ---> IEEE Std 1003.1,2016 Edition,也就是 POSIX.1-2008
  • "1003.1™-2003 Base" ---> IEEE Std 1003.1-2001,也就是 POSIX.1-2001

所以如果是 “更偏2003标准”, 则实际对应的是 POSIX.1-2001 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants