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