summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-05-04 23:20:33 +0200
committersijanec <anton@sijanec.eu>2021-05-04 23:20:33 +0200
commit872a765eeebfeea314aae1f3a356f8ac280526aa (patch)
treef8acd64478f7be1f3bb5efb6ccd2e4d613f9c73c /src/main.c
downloadtravnik-872a765eeebfeea314aae1f3a356f8ac280526aa.tar
travnik-872a765eeebfeea314aae1f3a356f8ac280526aa.tar.gz
travnik-872a765eeebfeea314aae1f3a356f8ac280526aa.tar.bz2
travnik-872a765eeebfeea314aae1f3a356f8ac280526aa.tar.lz
travnik-872a765eeebfeea314aae1f3a356f8ac280526aa.tar.xz
travnik-872a765eeebfeea314aae1f3a356f8ac280526aa.tar.zst
travnik-872a765eeebfeea314aae1f3a356f8ac280526aa.zip
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..74a9d1d
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,13 @@
+/* system libraries */
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+/* my code */
+#include <utils.c>
+#include <bencoding.c>
+
+int main (int argc, char ** argv) {
+ char * val free_char_after = malloc(16);
+ return argv ? argc : 69;
+}