summaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-12-11 19:21:14 +0100
committersijanec <sijanecantonluka@gmail.com>2020-12-11 19:21:14 +0100
commitef12fb246673567d353110a160c2b5cd86c73305 (patch)
tree3c723beba8970f488833742a52d23c106444862e /test.c
downloadrtv4d-dl-ef12fb246673567d353110a160c2b5cd86c73305.tar
rtv4d-dl-ef12fb246673567d353110a160c2b5cd86c73305.tar.gz
rtv4d-dl-ef12fb246673567d353110a160c2b5cd86c73305.tar.bz2
rtv4d-dl-ef12fb246673567d353110a160c2b5cd86c73305.tar.lz
rtv4d-dl-ef12fb246673567d353110a160c2b5cd86c73305.tar.xz
rtv4d-dl-ef12fb246673567d353110a160c2b5cd86c73305.tar.zst
rtv4d-dl-ef12fb246673567d353110a160c2b5cd86c73305.zip
Diffstat (limited to 'test.c')
-rw-r--r--test.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/test.c b/test.c
new file mode 100644
index 0000000..d24517d
--- /dev/null
+++ b/test.c
@@ -0,0 +1,22 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+int main (int argc, char ** argv) {
+ 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;
+}