Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/osf1 madvise operation definitions



details:   https://anonhg.NetBSD.org/src/rev/e61dfe6b5bc2
branches:  trunk
changeset: 472334:e61dfe6b5bc2
user:      cgd <cgd%NetBSD.org@localhost>
date:      Tue Apr 27 18:38:07 1999 +0000

description:
madvise operation definitions

diffstat:

 sys/compat/osf1/osf1.h |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r d651efdc3f90 -r e61dfe6b5bc2 sys/compat/osf1/osf1.h
--- a/sys/compat/osf1/osf1.h    Tue Apr 27 18:12:44 1999 +0000
+++ b/sys/compat/osf1/osf1.h    Tue Apr 27 18:38:07 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1.h,v 1.7 1999/04/27 17:50:23 cgd Exp $ */
+/* $NetBSD: osf1.h,v 1.8 1999/04/27 18:38:07 cgd Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -219,6 +219,15 @@
 #define OSF1_MAP_INHERIT       0x0400
 #define OSF1_MAP_UNALIGNED     0x0800
 
+/* madvise operations */
+#define OSF1_MADV_NORMAL       0
+#define OSF1_MADV_RANDOM       1
+#define OSF1_MADV_SEQUENTIAL   2
+#define OSF1_MADV_WILLNEED     3
+#define OSF1_MADV_DONTNEED_COMPAT 4
+#define OSF1_MADV_SPACEAVAIL   5
+#define OSF1_MADV_DONTNEED     6
+
 
 /* mount.h */
 



Home | Main Index | Thread Index | Old Index