diff options
author | mike <mike@FreeBSD.org> | 2002-10-21 20:35:29 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-10-21 20:35:29 +0000 |
commit | 87dd3ba969dc5d2c53808adc3eeb712963dfa18b (patch) | |
tree | a5abd0d6e26fc5a70b7417c02a3adc4aef0c7776 /sys/sys/_types.h | |
parent | f94a5e8a54c64c705cd34cfd49c5a5b9ee23d689 (diff) | |
download | FreeBSD-src-87dd3ba969dc5d2c53808adc3eeb712963dfa18b.zip FreeBSD-src-87dd3ba969dc5d2c53808adc3eeb712963dfa18b.tar.gz |
Add id_t, a new type capable of representing a pid_t or a uid_t. Move
the definition of rlim_t to <sys/_types.h> so that it can be shared.
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r-- | sys/sys/_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h index cc5338a..6e95db2 100644 --- a/sys/sys/_types.h +++ b/sys/sys/_types.h @@ -40,11 +40,13 @@ typedef __uint32_t __fflags_t; /* file flags */ typedef __uint64_t __fsblkcnt_t; typedef __uint64_t __fsfilcnt_t; typedef __uint32_t __gid_t; +typedef __int64_t __id_t; /* can hold a uid_t or pid_t */ typedef long __key_t; /* IPC key (for Sys V IPC) */ typedef __uint16_t __mode_t; /* permissions */ typedef int __nl_item; typedef __int64_t __off_t; /* file offset */ typedef __int32_t __pid_t; /* process [group] */ +typedef __int64_t __rlim_t; /* resource limit (XXX not unsigned) */ typedef __uint8_t __sa_family_t; typedef __uint32_t __socklen_t; typedef __int32_t __timer_t; /* timer_gettime()... */ |