Listtree.mcc: forward List_TestPos and Listtree_TestPos
[AROS.git] / compiler / stdc / atof.c
blobc62f447e990fed561982071bc0ee110ecf6b6316
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function atof().
6 */
8 #ifndef AROS_NOFPU
10 /*****************************************************************************
12 NAME */
13 #include <stdlib.h>
15 double atof (
17 /* SYNOPSIS */
18 const char * str)
20 /* FUNCTION
21 Convert a string of digits into a double.
23 INPUTS
24 str - The string which should be converted. Leading
25 whitespace are ignored. The number may be prefixed
26 by a '+' or '-'.
28 RESULT
29 The value of string str.
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
38 atoi(), atol(), strtod(), strtol(), strtoul()
40 INTERNALS
42 ******************************************************************************/
44 return strtod (str, (char **)NULL);
45 } /* atof */
47 #else
49 void atof(const char * str)
51 return;
54 #endif /* AROS_NOFPU */