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