Documentation | c-user: Add chapter for stringto library (!219)
Gedare Bloom (@gedare)
gitlab at rtems.org
Sat Feb 21 21:07:00 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_143187
> +/* empty string */
> +status = rtems_string_to_double( "", &outd, NULL );
> +assert( status == RTEMS_NOT_DEFINED );
> +
> +/* NULL for input string or return value */
> +status = rtems_string_to_double( NULL, &outd, NULL );
> +assert( status == RTEMS_INVALID_ADDRESS );
> +
> +status = rtems_string_to_double( "23.5", NULL, NULL );
> +assert( status == RTEMS_INVALID_ADDRESS );
> +```
> +
> +## Functions
> +
> +The stringto library provides the following functions:
> +```c
Add a line before this or use `mdformat`
--
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/219#note_143187
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/10cc9684/attachment.htm>
More information about the bugs
mailing list