diff options
author | sijanec <anton@sijanec.eu> | 2021-01-11 23:42:09 +0100 |
---|---|---|
committer | sijanec <anton@sijanec.eu> | 2021-01-11 23:42:09 +0100 |
commit | efc22df4d449886597eaf1a642cf095b6392855e (patch) | |
tree | 39344ae0b029dd1b7c1ca7b4b134132ced2d2348 | |
parent | 0.1.1-3: ta minorni patch nima releasa, idrc (diff) | |
download | rtv4d-dl-efc22df4d449886597eaf1a642cf095b6392855e.tar rtv4d-dl-efc22df4d449886597eaf1a642cf095b6392855e.tar.gz rtv4d-dl-efc22df4d449886597eaf1a642cf095b6392855e.tar.bz2 rtv4d-dl-efc22df4d449886597eaf1a642cf095b6392855e.tar.lz rtv4d-dl-efc22df4d449886597eaf1a642cf095b6392855e.tar.xz rtv4d-dl-efc22df4d449886597eaf1a642cf095b6392855e.tar.zst rtv4d-dl-efc22df4d449886597eaf1a642cf095b6392855e.zip |
-rw-r--r-- | rtv4d-dl.c | 1 | ||||
-rw-r--r-- | test.c | 27 |
2 files changed, 0 insertions, 28 deletions
@@ -2,7 +2,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <math.h> #include <tcp.c> #include <dirent.h> #include <errno.h> @@ -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; -} |