From 701a2c57b5984788fba1c96c684d3abbacc1aa73 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok/asmodai Date: Fri, 3 Jun 2005 11:07:34 +0000 Subject: [PATCH] Add id_t, a general identifier type, per IEEE Std 1003.1, 2004 Edition. It should be able to hold a gid_t/pid_t/uid_t. --- sys/sys/types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/sys/types.h b/sys/sys/types.h index 314460214b..fe33dbeec5 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -37,7 +37,7 @@ * * @(#)types.h 8.6 (Berkeley) 2/19/95 * $FreeBSD: src/sys/sys/types.h,v 1.40.2.2 2001/04/21 14:53:06 ume Exp $ - * $DragonFly: src/sys/sys/types.h,v 1.9 2005/06/03 09:45:53 asmodai Exp $ + * $DragonFly: src/sys/sys/types.h,v 1.10 2005/06/03 11:07:34 asmodai Exp $ */ #ifndef _SYS_TYPES_H_ @@ -79,6 +79,7 @@ typedef __uint32_t fixpt_t; /* fixed point number */ typedef __uint64_t fsblkcnt_t; /* filesystem block count */ typedef __uint64_t fsfilcnt_t; /* filesystem file count */ typedef __uint32_t gid_t; /* group id */ +typedef __int64_t id_t; /* general id, can hold gid/pid/uid_t */ typedef __uint32_t in_addr_t; /* base type for internet address */ typedef __uint16_t in_port_t; typedef __uint32_t ino_t; /* inode number */ -- 2.41.0