aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2003-03-01 16:51:40 +0000
committerMike Barcroft <mike@FreeBSD.org>2003-03-01 16:51:40 +0000
commit2019acb6e0577b1b9eecdf33cc2d250c18187490 (patch)
tree2456ba2ebd16e0bdb71ccb6de72dd26a755fb12a /sys/sys/_types.h
parent37413f0a0f49a67358ee697850a92bca365d4be1 (diff)
downloadsrc-2019acb6e0577b1b9eecdf33cc2d250c18187490.tar.gz
src-2019acb6e0577b1b9eecdf33cc2d250c18187490.zip
Share ino_t and nlink_t.
Notes
Notes: svn path=/head/; revision=111705
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r--sys/sys/_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index f8884c6b8a6c..09b158680847 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -41,9 +41,11 @@ typedef __uint64_t __fsblkcnt_t;
typedef __uint64_t __fsfilcnt_t;
typedef __uint32_t __gid_t;
typedef __int64_t __id_t; /* can hold a gid_t, pid_t, or uid_t */
+typedef __uint32_t __ino_t; /* inode number */
typedef long __key_t; /* IPC key (for Sys V IPC) */
typedef __uint16_t __mode_t; /* permissions */
typedef int __nl_item;
+typedef __uint16_t __nlink_t; /* link count */
typedef __int64_t __off_t; /* file offset */
typedef __int32_t __pid_t; /* process [group] */
typedef __int64_t __rlim_t; /* resource limit (XXX not unsigned) */