Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Pay lip service to old sources and provide SHM_[RW] ...
details: https://anonhg.NetBSD.org/src/rev/d2b6071f8ed2
branches: trunk
changeset: 507702:d2b6071f8ed2
user: kleink <kleink%NetBSD.org@localhost>
date: Thu Mar 29 21:16:06 2001 +0000
description:
Pay lip service to old sources and provide SHM_[RW] (note that these
are not even part of the SVID4); per discussion with Thomas Klausner.
diffstat:
sys/sys/shm.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 1155e6be6524 -r d2b6071f8ed2 sys/sys/shm.h
--- a/sys/sys/shm.h Thu Mar 29 21:07:56 2001 +0000
+++ b/sys/sys/shm.h Thu Mar 29 21:16:06 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: shm.h,v 1.26 2000/06/02 15:53:05 simonb Exp $ */
+/* $NetBSD: shm.h,v 1.27 2001/03/29 21:16:06 kleink Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -127,6 +127,13 @@
#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
/*
+ * Permission definitions.
+ * Provided for source compatibility only; do not use in new code!
+ */
+#define SHM_R IPC_R
+#define SHM_W IPC_W
+
+/*
* System 5 style catch-all structure for shared memory constants that
* might be of interest to user programs. Do we really want/need this?
*/
Home |
Main Index |
Thread Index |
Old Index