summaryrefslogtreecommitdiffstats
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-08-23 20:04:49 +0000
committermike <mike@FreeBSD.org>2002-08-23 20:04:49 +0000
commit8616f7e7086fb0abe746f9317f5cdedf7f4598c2 (patch)
treef60fa23d6f8d08e491eb6fc2569508aa08f17685 /sys/sys/_types.h
parent53b075a52ba842f3fbdec9f5af3c2929046e0708 (diff)
downloadFreeBSD-src-8616f7e7086fb0abe746f9317f5cdedf7f4598c2.zip
FreeBSD-src-8616f7e7086fb0abe746f9317f5cdedf7f4598c2.tar.gz
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
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 da644ea..074dc57 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;
OpenPOWER on IntegriCloud