xref: /csrg-svn/lib/libc/stdlib/atof.c (revision 61180)
135480Sbostic /*
2*61180Sbostic  * Copyright (c) 1988, 1993
3*61180Sbostic  *	The Regents of the University of California.  All rights reserved.
435480Sbostic  *
542633Sbostic  * %sccs.include.redist.c%
635480Sbostic  */
735480Sbostic 
835480Sbostic #if defined(LIBC_SCCS) && !defined(lint)
9*61180Sbostic static char sccsid[] = "@(#)atof.c	8.1 (Berkeley) 06/04/93";
1035480Sbostic #endif /* LIBC_SCCS and not lint */
1135480Sbostic 
1235480Sbostic #include <stdlib.h>
1335480Sbostic #include <stddef.h>
1435480Sbostic 
1535480Sbostic double
atof(ascii)1635480Sbostic atof(ascii)
1757430Sbostic 	const char *ascii;
1835480Sbostic {
1957430Sbostic 	return (strtod(ascii, NULL));
2035480Sbostic }
21