aboutsummaryrefslogtreecommitdiff
path: root/sys/fio/mmap.inc
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /sys/fio/mmap.inc
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/fio/mmap.inc')
-rw-r--r--sys/fio/mmap.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/fio/mmap.inc b/sys/fio/mmap.inc
new file mode 100644
index 00000000..aebc0f27
--- /dev/null
+++ b/sys/fio/mmap.inc
@@ -0,0 +1,8 @@
+# map 6 file modes into one of five simpler modes
+int mmap[TEMP_FILE]
+data mmap[READ_ONLY] /READ_ONLY/
+data mmap[READ_WRITE] /READ_WRITE/
+data mmap[WRITE_ONLY] /WRITE_ONLY/
+data mmap[APPEND] /APPEND/
+data mmap[NEW_FILE] /NEW_FILE/
+data mmap[TEMP_FILE] /NEW_FILE/