Go to the first, previous, next, last section, table of contents.


_strtold

Syntax

#include <stdlib.h>

long double _strtold(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.

Return Value

The value the string represented.

Portability

not ANSI, not POSIX

Example

char *buf = "123ret";
char *bp;
long double x = _strtold(buf, &bp);


Go to the first, previous, next, last section, table of contents.