LibBSD | sendmsg() is not POSIX compliant (#35)

Chris Johns (@chris) gitlab at rtems.org
Mon Feb 3 03:10:27 UTC 2025



Chris Johns created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/35

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`

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/35
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/0265afd5/attachment.htm>


More information about the bugs mailing list