*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> atof (3)              
Title
Content
Arch
Section
 

ATOF(3)

Contents


NAME    [Toc]    [Back]

       atof - convert a string to a double.

SYNOPSIS    [Toc]    [Back]

       #include <stdlib.h>

       double atof(const char *nptr);

DESCRIPTION    [Toc]    [Back]

       The  atof() function converts the initial portion of the string pointed
       to by nptr to double.  The behaviour is the same as

	      strtod(nptr, (char **)NULL);

       except that atof() does not detect errors.

RETURN VALUE    [Toc]    [Back]

       The converted value.

CONFORMING TO    [Toc]    [Back]

       SVID 3, POSIX, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

      
      
       atoi(3), atol(3), strtod(3), strtol(3), strtoul(3)



GNU				  1993-03-29			       ATOF(3)
[ Back ]
 Similar pages
Name OS Title
wcstold FreeBSD convert string to float, double or long double
wcstof FreeBSD convert string to float, double or long double
wcstod FreeBSD convert string to float, double or long double
strtod OpenBSD convert ASCII string to double
atof NetBSD convert ASCII string to double
atof OpenBSD convert ASCII string to double
ecvt OpenBSD convert double to ASCII string
fcvt OpenBSD convert double to ASCII string
strtod NetBSD convert ASCII string to double
atof FreeBSD convert ASCII string to double
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service