aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
blob: 8ac3a96b3c982c33f788928d28b0a639accb6f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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};
}