From 346ec21c4c9007e98c84b67e4f5e4b9a67bbbce7 Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 26 Oct 2018 18:38:23 +0200 Subject: util: use shm_open for in-memory files shm_open is a POSIX function creating an in-memory file. Using it simplifies the code and removes the dependency on XDG_RUNTIME_DIR. The only downside is that we need to generate a random name for the shm file. --- docs/env_vars.md | 1 - 1 file changed, 1 deletion(-) (limited to 'docs') diff --git a/docs/env_vars.md b/docs/env_vars.md index ef12e0b3..1b1a5fd6 100644 --- a/docs/env_vars.md +++ b/docs/env_vars.md @@ -30,4 +30,3 @@ generic * *WAYLAND_DISPLAY*, *_WAYLAND_DISPLAY*, *WAYLAND_SOCKET*: if set probe Wayland backend in *wlr_backend_autocreate* * *XCURSOR_PATH*: directory where xcursors are located -* *XDG_RUNTIME_DIR*: used to store non persistent temporary files -- cgit v1.2.3