BlinkenArea - GitList
Repositories
Blog
Wiki
libetherpix
Code
Commits
Branches
Tags
Search
Tree:
693f1e8
Branches
Tags
master
libetherpix
src
strtod_noloc.h
move internal includes
Stefan Schuermans
commited
693f1e8
at 2017-09-24 08:51:47
strtod_noloc.h
Blame
History
Raw
/* * EtherPix library * * Copyright 2010-2017 Stefan Schuermans <stefan schuermans info> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3 of the License. * * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef ETP_STRTOD_NOLOC_H #define ETP_STRTOD_NOLOC_H /** * \brief own version of strtod ignoring locale * * This version of strtod always expects dots in floating point numbers. * The reason is to be able to use the same config files for all locales. * * \param[in] nptr string containing number to parse * \param[out] endptr filled with pointer to * \return value read from the string */ double etp_strtod_noloc(const char *nptr, char **endptr); #endif /* #ifndef ETP_STRTOD_NOLOC_H */