aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-08-23 20:04:49 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-08-23 20:04:49 +0000
commitb7df45064780ac69069c23fe1b79d18e88deac3b (patch)
treef60fa23d6f8d08e491eb6fc2569508aa08f17685 /sys/sys/_types.h
parenta21e912e418b17e13d284f994952460b12f91f38 (diff)
downloadsrc-b7df45064780ac69069c23fe1b79d18e88deac3b.tar.gz
src-b7df45064780ac69069c23fe1b79d18e88deac3b.zip
o Fix namespace issues in <sys/mman.h>.
o Move mode_t details from <sys/types.h> into <sys/_types.h>. o Add primitives for sharing the mode_t and off_t typedefs. o Add typedefs mode_t, off_t, and size_t to <sys/mman.h>. PR: 21644
Notes
Notes: svn path=/head/; revision=102325
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r--sys/sys/_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index da644ea8493a..074dc5738039 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -41,6 +41,7 @@ typedef __uint64_t __fsblkcnt_t;
typedef __uint64_t __fsfilcnt_t;
typedef __uint32_t __intrmask_t;
typedef __uint32_t __gid_t;
+typedef __uint16_t __mode_t; /* permissions */
typedef __int64_t __off_t; /* file offset */
typedef __int32_t __pid_t; /* process [group] */
typedef __uint8_t __sa_family_t;