summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/input2int.c
diff options
context:
space:
mode:
authorDenis Bitouzé <dbitouze@wanadoo.fr>2021-02-25 18:23:07 +0000
committerDenis Bitouzé <dbitouze@wanadoo.fr>2021-02-25 18:23:07 +0000
commitc6101f91d071883b48b1b4b51e5eba0f36d9a78d (patch)
tree1bf7f5a881d7a4f5c5bf59d0b2821943dd822372 /Build/source/texk/web2c/lib/input2int.c
parent07ee7222e389b0777456b427a55c22d0e6ffd267 (diff)
French translation for tlmgr updated
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/input2int.c')
-rw-r--r--Build/source/texk/web2c/lib/input2int.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/Build/source/texk/web2c/lib/input2int.c b/Build/source/texk/web2c/lib/input2int.c
deleted file mode 100644
index 5bd42016b4e..00000000000
--- a/Build/source/texk/web2c/lib/input2int.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/* input2int.c: read two or three integers from text files. These
- routines are only used in patgen. Public domain. */
-
-#include <w2c/config.h>
-#include "lib.h"
-
-#ifdef INTEGER_IS_INT
-#define SCAN2INT "%d %d"
-#define SCAN3INT "%d %d %d"
-#else
-#define SCAN2INT "%ld %ld"
-#define SCAN3INT "%ld %ld %ld"
-#endif
-
-/* Read two integers from stdin. */
-
-void
-zinput2ints (integer *a, integer *b)
-{
- int ch;
-
- while (scanf (SCAN2INT, a, b) != 2)
- {
- while ((ch = getchar ()) != EOF && ch != '\n');
- if (ch == EOF) return;
- fprintf (stderr, "Please enter two integers.\n");
- }
-
- while ((ch = getchar ()) != EOF && ch != '\n');
-}
-
-
-/* Read three integers from stdin. */
-
-void
-zinput3ints (integer *a, integer *b, integer *c)
-{
- int ch;
-
- while (scanf (SCAN3INT, a, b, c) != 3)
- {
- while ((ch = getchar ()) != EOF && ch != '\n');
- if (ch == EOF) return;
- fprintf (stderr, "Please enter three integers.\n");
- }
-
- while ((ch = getchar ()) != EOF && ch != '\n');
-}