Documentation | c-user: Add chapter for stringto library (!219)

Gedare Bloom (@gedare) gitlab at rtems.org
Sat Feb 21 20:47:08 UTC 2026




Gedare Bloom started a new discussion on c-user/stringto.md: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/219#note_143154

 > +```
 > +
 > +# Stringto utility
 > +
 > +## Introduction
 > +
 > +The stringto library is a set of wrapper functions around the standard string
 > +to numeric conversion functions `str*()`. Their goal is to provide a more
 > +consistent and safe interface to work with.
 > +
 > +## Background
 > +
 > +The standard `str*()` functions are quite inconsistent in how they handle
 > +and return errors. For example, passing a NULL as an input string causes
 > +`strto*()` functions to cause a segmentation violation in glibc. Whereas
 > +RTEMS's `stringto*` functions return error code indicating what went

```suggestion:-0+0
RTEMS `rtems_stringto_*` functions return an error code indicating what went
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/219#note_143154
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/20260221/6fcaf5a5/attachment-0001.htm>


More information about the bugs mailing list