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 */
25
19
#define MAX_NEGATIVE_NUMBER ((uint64_t) 0x8000000000000000LL)
27
21
#define LFACTOR 1000000000ULL
28
22
#define LFACTOR1 10000000000ULL
29
23
#define LFACTOR2 100000000000ULL
33
27
1L, 10L, 100L, 1000L, 10000L, 100000L, 1000000L, 10000000L, 100000000L
41
35
nptr in pointer to the string to be converted
42
36
endptr in/out pointer to the end of the string/
43
37
pointer to the stop character
44
38
error out returned error code
47
41
This function takes the decimal representation of integer number
48
42
from string nptr and converts it to an signed or unsigned
50
44
Space characters and tab are ignored.
51
45
A sign character might precede the digit characters. The number
52
46
may have any number of pre-zero digits.