Correct strod return error checking
- From: Chsrs <Chrisj@xxxxxxxxxxxx>
- Date: Sat, 10 Dec 2005 22:45:04 +0100
Hello, ...
I have a question regarding the strtod() function.
What would be the correct way to check if it returns an error ? I am a
bit confused by the manual page. For example is says that it returns 0
on a error, but what if the original input was a zero ? Then also a
zero is returned ?
Thank you for any answers or idea's..
Chris
.
- Follow-Ups:
- Re: Correct strod return error checking
- From: Robert Harris
- Re: Correct strod return error checking
- Prev by Date: Re: complex dictionary search engine with parallel processing???
- Next by Date: Re: How to provide a file as standard input to the yacc please ?
- Previous by thread: How to provide a file as standard input to the yacc please ?
- Next by thread: Re: Correct strod return error checking
- Index(es):
Relevant Pages
|