summaryrefslogtreecommitdiff
path: root/lib/file.h
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-05-06 00:39:44 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-05-06 00:39:44 -0400
commitd8f2c10b7108fff6b7e437291093a1cadc15ab9f (patch)
tree3fc50a19d6fbb9c94a8fe147cd2a6c4ba7f59b8d /lib/file.h
parentansii c (diff)
downloadlazysphere-d8f2c10b7108fff6b7e437291093a1cadc15ab9f.tar.gz
lazysphere-d8f2c10b7108fff6b7e437291093a1cadc15ab9f.tar.bz2
lazysphere-d8f2c10b7108fff6b7e437291093a1cadc15ab9f.zip
refactor
Diffstat (limited to 'lib/file.h')
-rw-r--r--lib/file.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/file.h b/lib/file.h
new file mode 100644
index 0000000..0bb5939
--- /dev/null
+++ b/lib/file.h
@@ -0,0 +1,14 @@
+#ifndef FILE_H
+#define FILE_H
+
+#include <stdio.h>
+
+FILE* get_file_s(const char* path, const char* type);
+
+FILE* get_file(const char* path, const char* type);
+
+int get_tty(void);
+
+FILE* get_tty_stream(char* type);
+
+#endif