LibBSD | sendmsg() is not POSIX compliant (#33)
Ning Yang (@yangn0)
gitlab at rtems.org
Sat Feb 1 07:43:58 UTC 2025
Ning Yang created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/33
I found a POSIX compliance bug.
In file `rtems-bsd-syscall-api.c`,line 644.
https://pubs.opengroup.org/onlinepubs/009604599/functions/sendmsg.html
`Upon successful completion, sendmsg() shall return the number of bytes sent.`
But in RTEMS `sendmsg()` only returns an errno.
This problem exists in `6-freebsd-12`, `6-freebsd-14`, `7-freebsd-14`, `main`. But it is good in `6-freebsd-13`.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/33
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250201/791a9883/attachment-0001.htm>
More information about the bugs
mailing list