Hello Ed,
On 04/28/2016 06:31 PM, Ed Avis wrote:
strtod(3) says:
If no conversion is performed, zero is returned and the value of nptr
is stored in the location referenced by endptr.
This surely can't be the case if endptr is null. I believe that the
behaviour is more like
If no conversion is performed, zero is returned, and (unless endptr
is null) the value of nptr is stored in the location referenced by
endptr.
Agreed. Page corrected.
Thanks,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html