summaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/test.c b/test.c
deleted file mode 100644
index 191d22a..0000000
--- a/test.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-int main (int argc, char ** argv) {
- char aaa[] = "chunk_1234.ts";
- char bbb[] = "chunk_%u.ts";
- unsigned int ccc;
- sscanf(aaa, bbb, &ccc);
- fprintf(stdout, "%u\n", ccc);
- // char * metavalues[] = { "abc", "def", "ghi", "jkl" };
- // fprintf(stdout, "%s\n", { "a", "b", "c", "d" }[3]);
- // const char b[5] = "aaaaa";
- // const char a[5] = "aaaaa";
- // fprintf(stdout, "%d\n", strncasecmp(a, b, 325432));
- // if (1 == 0 && fprintf(stderr, "test\n"));
- // FILE * fd = fopen("/tmp/b.mp4", "r");
- // unsigned long long int s = 0;
- // unsigned long long int b = 0;
- // int c = fgetc(fd);
- // while (!feof(fd)) {
- // s = s + c;
- // b++;
- // c = fgetc(fd);
- // }
- // fprintf(stdout, "\n%llu, %llu\n", b, s);
- return 0;
-}