From ef12fb246673567d353110a160c2b5cd86c73305 Mon Sep 17 00:00:00 2001 From: sijanec Date: Fri, 11 Dec 2020 19:21:14 +0100 Subject: initial "release" --- test.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test.c (limited to 'test.c') 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 +#include +#include +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; +} -- cgit v1.2.3