-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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: implement isastream() #68458
posix: implement isastream() #68458
Conversation
@@ -508,7 +508,7 @@ _XOPEN_STREAMS | |||
getmsg(), | |||
getpmsg(), | |||
ioctl(),yes | |||
isastream(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is not supported as in "implemented", so we need to change the docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking on : yes (will fail with ENOSYS
:ref:†<posix_undefined_behaviour>
) like the other one ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"supported" in the docs is misleading.
b6ece1a
to
da4ffae
Compare
c20aef1
to
cadebfa
Compare
Not sure, on the problem, I check the upstream and keep my changes. I have check the code 🤔 |
Hi @moonlight83340 - If a test is failing, just click on the failing test, and click through to the failing job. You might need to search through the log messages to see what is failing. The failure is completely unrelated to this change, so your PR might require a rebase if the issue it's already fixed in https://github.com/zephyrproject-rtos/zephyr/actions/runs/8314532525/job/22752673417#step:12:1704 In this case, it's an NXP hal issue that is causing a build failure, so is completely unrelated. |
Thank you, I ask because I check and the error sounded unrelated but I wasn't sure ! Thank you for your time ! |
`isastream()` is required as part of _XOPEN_STREAMS Option Group. signed-off-by: Gaetan Perrot <gaetanperrotpro@gmail.com>
`isastream ()` is now implemented, mark it so. signed-off-by: Gaetan Perrot <gaetanperrotpro@gmail.com>
Add tests for `isastream()` signed-off-by: Gaetan Perrot <gaetanperrotpro@gmail.com>
cadebfa
to
d2469b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - LGTM 👍
@nashif are the changes okay ? |
This is part of the See #51211 (RFC #51211).
isastream() is required as part of _XOPEN_STREAMS Option Group.
For more information, please refer to https://pubs.opengroup.org/onlinepubs/9699919799/functions/isastream.html
Fixes #66977