Add openbsd and dragonfly support to shm

This commit is contained in:
Kovid Goyal
2022-12-20 20:53:52 +05:30
parent 7e161ea94b
commit 6ace082bc2
6 changed files with 47 additions and 43 deletions

View File

@@ -0,0 +1,16 @@
// License: GPLv3 Copyright: 2022, Kovid Goyal, <kovid at kovidgoyal.net>
package shm
import (
"fmt"
)
var _ = fmt.Print
// https://www.dragonflybsd.org/cgi/web-man?command=shm_open&section=3
const SHM_DIR = "/var/run/shm"
func modify_pattern(pattern string) string {
return pattern
}