13
13
along with this program; if not, write to the Free Software
14
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
21
20
#define MAX_NEGATIVE_NUMBER ((uint64_t) 0x8000000000000000LL)
23
22
#define LFACTOR 1000000000ULL
24
23
#define LFACTOR1 10000000000ULL
25
24
#define LFACTOR2 100000000000ULL
29
28
1L, 10L, 100L, 1000L, 10000L, 100000L, 1000000L, 10000000L, 100000000L
37
36
nptr in pointer to the string to be converted
38
37
endptr in/out pointer to the end of the string/
39
38
pointer to the stop character
40
39
error out returned error code
43
42
This function takes the decimal representation of integer number
44
43
from string nptr and converts it to an signed or unsigned
46
45
Space characters and tab are ignored.
47
46
A sign character might precede the digit characters. The number
48
47
may have any number of pre-zero digits.