aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp
new file mode 100644
index 0000000..8ac3a96
--- /dev/null
+++ b/src/common.cpp
@@ -0,0 +1,13 @@
+#include "common.h"
+
+#include <fcntl.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+
+line_view load_file(const char* path) {
+ return {nullptr, 0};
+}
+
+line_view next_line(const char* file, size_t offset) {
+ return {nullptr, 0};
+}