3 fmtstrtod, fmtcharstod \ - convert text to numbers
11 double fmtstrtod(char *nptr, char **rptr)
14 double fmtcharstod(int (*f)(void *), void *a)
17 converts a string pointed to by
19 to floating point representation and, if
23 to point to the input character immediately after the string converted.
25 recognizes an optional string of tabs and spaces,
26 then an optional sign, then a string of digits optionally
27 containing a decimal point, then an optional
31 followed by an optionally signed integer.
35 interprets floating point numbers in the manner of
37 but gets successive characters by calling
41 terminates the scan, so it must have returned a character that
42 is not a legal continuation of a number.
43 Therefore, it may be necessary to back up the input stream one character
47 .B http://swtch.com/plan9port/unix
51 Zero is returned if the beginning of the input string is not interpretable
52 as a number; even in this case,