summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2013-05-31 18:41:27 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2013-05-31 18:41:27 +0000
commit6876a9b65463a3e60c39ec3b324f3bc358829162 (patch)
tree482a0382cec4e750a6ae11b3b1bfc40471b01cda /sys
parent49dd0fa296f871f1b69bdf9a812ad410e9626ad1 (diff)
add shm_open and friends which i have been told ports programs would
like to use. ok deraadt guenther
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mman.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h
index 1585cc02273..cc4fca178a8 100644
--- a/sys/sys/mman.h
+++ b/sys/sys/mman.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mman.h,v 1.22 2012/07/21 06:46:58 matthew Exp $ */
+/* $OpenBSD: mman.h,v 1.23 2013/05/31 18:41:26 tedu Exp $ */
/* $NetBSD: mman.h,v 1.11 1995/03/26 20:24:23 jtc Exp $ */
/*-
@@ -152,6 +152,9 @@ int minherit(void *, size_t, int);
void * mquery(void *, size_t, int, int, int, off_t);
#endif
int posix_madvise(void *, size_t, int);
+int shm_open(const char *, int, __mode_t);
+int shm_unlink(const char *);
+int shm_mkstemp(char *);
__END_DECLS
#endif /* !_KERNEL */