ustrtod(3alleg4) debian man page | unix.com

Man Page: ustrtod

Operating Environment: debian

Section: 3alleg4

ustrtod(3alleg4)						  Allegro manual						  ustrtod(3alleg4)

NAME
ustrtod - Converts a string into a floating point number. Allegro game programming library.
SYNOPSIS
#include <allegro.h> double ustrtod(const char *s, char **endp);
DESCRIPTION
This function converts as many characters of `s' that look like a floating point number into one, and sets `*endp' to point to the first unused character, if `endp' is not a NULL pointer. Example: char *endp, *string = "456.203 askdfg"; double number = ustrtod(string, &endp);
RETURN VALUE
Returns the string converted as a value of type `double'. If nothing was converted, returns zero with *endp pointing to the beginning of s.
SEE ALSO
uconvert(3alleg4), ustrtol(3alleg4), uatof(3alleg4) Allegro version 4.4.2 ustrtod(3alleg4)
Related Man Pages
exdbuf(3alleg4) - opendarwin
exdbuf(3alleg4) - suse
exflip(3alleg4) - netbsd
exflip(3alleg4) - php
exflip(3alleg4) - mojave
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
How can I do this in VI editor?
Introduction
My first PERL incarnation... Audio Oscillograph