RTEMS | Implement C11 Annex K (Bounds-checking interfaces): memset_s proof of concept (#5434)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Feb 5 15:15:24 UTC 2026




Joel Sherrill commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5434#note_141581


I asked on the [newlib mailing list](https://sourceware.org/pipermail/newlib/2026/022275.html) about adding those. I don't know which way that discussion will go.

I am prone to say that those two functions are not widely available. They are not in the C Library or POSIX. The Cygwin implementation is just a [wrapper](https://github.com/devkitPro/newlib/blob/master/winsup/cygwin/math/isinf.c) for compiler built-in support. @rurban Any thoughts on safeclib handling this internally to avoid a portability issue?

Either solution is ok by me but the newlib and safeclib projects are the places this could be addressed.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5434#note_141581
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/20260205/6623e6f0/attachment-0001.htm>


More information about the bugs mailing list