about summary refs log tree commit diff
path: root/sysdeps/generic/strtoll_l.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-25 13:26:48 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-25 13:26:48 +0000
commit03197d471033c3d3da50108461ec4dc5aab069fa (patch)
tree8e743cc9b2ef3827d1e8b2674936ccdae63b4016 /sysdeps/generic/strtoll_l.c
parent6e26ce8e824cc7e996c37864a4c8a6cffbb5bf91 (diff)
downloadglibc-03197d471033c3d3da50108461ec4dc5aab069fa.tar.gz
glibc-03197d471033c3d3da50108461ec4dc5aab069fa.tar.xz
glibc-03197d471033c3d3da50108461ec4dc5aab069fa.zip
Update.
1999-05-25  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/strtol.c: Moved to ...
	* sysdeps/generic/strtol.c: ...here.
	* stdlib/strtoul.c: Moved to ...
	* sysdeps/generic/strtoul.c: ...here.
	* stdlib/strtoll.c: Moved to ...
	* sysdeps/generic/strtoll.c: ...here.
	* stdlib/strtoull.c: Moved to ...
	* sysdeps/generic/strtoull.c: ...here.
	* stdlib/strtol_l.c: Moved to ...
	* sysdeps/generic/strtol_l.c: ...here.
	* stdlib/strtoul_l.c: Moved to ...
	* sysdeps/generic/strtoul_l.c: ...here.
	* stdlib/strtoll_l.c: Moved to ...
	* sysdeps/generic/strtoll_l.c: ...here.
	* stdlib/strtoull_l.c: Moved to ...
	* sysdeps/generic/strtoull_l.c: ...here.

	* sysdeps/wordexp-64/strtol.c: New file.
	* sysdeps/wordexp-64/strtoul.c: New file.
	* sysdeps/wordexp-64/strtoll.c: New file.
	* sysdeps/wordexp-64/strtoull.c: New file.
	* sysdeps/wordexp-64/strtol_l.c: New file.
	* sysdeps/wordexp-64/strtoul_l.c: New file.
	* sysdeps/wordexp-64/strtoll_l.c: New file.
	* sysdeps/wordexp-64/strtoull_l.c: New file.
Diffstat (limited to 'sysdeps/generic/strtoll_l.c')
-rw-r--r--sysdeps/generic/strtoll_l.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/sysdeps/generic/strtoll_l.c b/sysdeps/generic/strtoll_l.c
new file mode 100644
index 0000000000..2372b844d5
--- /dev/null
+++ b/sysdeps/generic/strtoll_l.c
@@ -0,0 +1,28 @@
+/* Convert string representing a number to integer value, using given locale.
+   Copyright (C) 1997 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#define USE_IN_EXTENDED_LOCALE_MODEL	1
+
+#include <xlocale.h>
+
+extern long long int ____strtoll_l_internal (const char *, char **, int, int,
+					     __locale_t);
+
+#include <strtoll.c>