1 --- strtod.3 2004-11-25 11:38:42.000000000 -0800
2 +++ strtod.3.edit 2006-08-09 13:42:36.000000000 -0700
7 -.Fn strtod "const char * restrict nptr" "char ** restrict endptr"
9 +.Fa "const char *restrict nptr"
10 +.Fa "char **restrict endptr"
13 -.Fn strtof "const char * restrict nptr" "char ** restrict endptr"
15 +.Fa "const char *restrict nptr"
16 +.Fa "char **restrict endptr"
19 -.Fn strtold "const char * restrict nptr" "char ** restrict endptr"
21 +.Fa "const char *restrict nptr"
22 +.Fa "char **restrict endptr"
26 functions convert the initial portion of the string
29 representation, respectively.
31 -The expected form of the string is an optional plus (``+'') or minus
32 -sign (``\-'') followed by either:
33 +The expected form of the string
34 +is an optional plus (``+'') or minus (``\-'') sign,
38 -a decimal significand consisting of a sequence of decimal digits
39 -optionally containing a decimal-point character, or
40 +a decimal significand, consisting of a sequence of decimal digits
41 +(optionally containing a decimal-point character) or
43 -a hexadecimal significand consisting of a ``0X'' or ``0x'' followed
44 -by a sequence of hexadecimal digits optionally containing a
45 -decimal-point character.
46 +a hexadecimal significand, consisting of a ``0X'' or ``0x'' followed
47 +by a sequence of hexadecimal digits
48 +(optionally containing a decimal-point character).
51 In both cases, the significand may be optionally followed by an
54 character is defined in the program's locale (category
57 +Extended locale versions of these functions are documented in
61 +for more information.