initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1702 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0029fd4b09
commit
21d3063840
26
src/kernel/libroot/posix/stdlib/atof.c
Normal file
26
src/kernel/libroot/posix/stdlib/atof.c
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (c) 2002, OpenBeOS Project.
|
||||
* All rights reserved.
|
||||
* Distributed under the terms of the OpenBeOS license.
|
||||
*
|
||||
*
|
||||
* atof.c:
|
||||
* implements the standard C library function atof()
|
||||
* (merely a wrapper for strtod(), actually)
|
||||
*
|
||||
*
|
||||
* Author(s):
|
||||
* Daniel Reinhold (danielre@users.sf.net)
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
double
|
||||
atof(const char *num)
|
||||
{
|
||||
return strtod(num, NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user