Mercurial > hg > octave-kai > gnulib-hg
annotate lib/xstrtod.h @ 4910:de285d9e7c4d
Merge from coreutils.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 16 Jan 2004 07:55:43 +0000 |
parents | c6450308f123 |
children | a535859efd14 |
rev | line source |
---|---|
4910 | 1 /* Error-checking interface to strtod-like functions. |
4397
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
2 |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
3 Copyright (C) 1996, 1998, 2003 Free Software Foundation, Inc. |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
4 |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
5 This program is free software; you can redistribute it and/or modify |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
6 it under the terms of the GNU General Public License as published by |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
7 the Free Software Foundation; either version 2, or (at your option) |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
8 any later version. |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
9 |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
10 This program is distributed in the hope that it will be useful, |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
13 GNU General Public License for more details. |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
14 |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
15 You should have received a copy of the GNU General Public License |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
16 along with this program; if not, write to the Free Software Foundation, |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
17 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
18 |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
19 /* Written by Jim Meyering. */ |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
1216
diff
changeset
|
20 |
513 | 21 #ifndef XSTRTOD_H |
653 | 22 # define XSTRTOD_H 1 |
513 | 23 |
4910 | 24 int xstrtod (const char *str, const char **ptr, double *result, |
25 double (*convert) (char const *, char **)); | |
513 | 26 |
728 | 27 #endif /* not XSTRTOD_H */ |