LibBSD | sendmsg() is not POSIX compliant (#34)
Chris Johns (@chris)
gitlab at rtems.org
Mon Feb 3 03:07:36 UTC 2025
Chris Johns created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/34
Assignee: Chris Johns
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/34
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/20250203/2fb41ac3/attachment-0001.htm>
More information about the bugs
mailing list