This commit is contained in:
John Kerl 2018-02-10 12:37:01 -05:00
parent fc75359f64
commit 2b72cc1f7e
2 changed files with 15 additions and 1 deletions

4
.gitignore vendored
View file

@ -76,7 +76,9 @@ mlr-[0-9.]*.tar.*
c/jkopush
c/run_mlr
c/mlr_expect_fail
c/push2f
c/run_mlr_for_auxents
c/push2
push2
data/.gitignore
doc/jkopush
doc/push2

12
data/gen.c Normal file
View file

@ -0,0 +1,12 @@
#include <stdio.h>
int main(int argc, char** argv) {
long long n = 100;
if (argc == 2) {
(void)sscanf(argv[1], "%lld", &n);
}
for (long long i = 0; i < n; i++) {
printf("i=%lld\n", i);
}
return 0;
}