PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] errno with strtoul
Date: Monday, 07 Sep 2020, 09:17:40


    > Message Posted By: Unknown
    >
    > What are some examples of errno that have to be accounted for in strtoul?
    > on the Matthew and Stones reading, I saw that there are over 10 different
    > values it can be.

If you read the man page for strtoul ("man strtoul"),
you will see that only EINVAL and ERANGE are valid.
Thus assuming that you do not specify a base other than
10, only ERANGE is relevant.

--Stan-
PREV INDEX NEXT