Prashant Rahul commented on a discussion on c-user/stringto.md: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/219#note_143181 > +``` > + > +# 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 fixed -- View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/219#note_143181 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
