aboutsummaryrefslogtreecommitdiff
path: root/include/util/shm.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-28 23:05:21 +0100
committerGitHub <noreply@github.com>2018-10-28 23:05:21 +0100
commit659d39baaaa51e27c3e078390e3f1b588f390aa3 (patch)
treeffd5bc8bef3055653400f48837b2017bbaecb762 /include/util/shm.h
parentf668e49faeeb06bf71e8b0d21f745e0f68aab4ba (diff)
parent54e78e9e26d267915517f4e49e9868b3b3009c42 (diff)
Merge pull request #1332 from emersion/shm-open
util: use shm_open for in-memory files
Diffstat (limited to 'include/util/shm.h')
-rw-r--r--include/util/shm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/util/shm.h b/include/util/shm.h
new file mode 100644
index 00000000..fb67b711
--- /dev/null
+++ b/include/util/shm.h
@@ -0,0 +1,7 @@
+#ifndef UTIL_SHM_H
+#define UTIL_SHM_H
+
+int create_shm_file(void);
+int allocate_shm_file(size_t size);
+
+#endif