aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-12-22 22:02:41 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-12-22 22:02:41 +0000
commit089a3f75e9cae6dbb35946816ce014e5ccd59259 (patch)
tree1c853bc300c7c43c7d99906aa00435b4cfaea225 /sys/sys/_types.h
parentf656dbec9706a6493823761f70616eb99b1206b1 (diff)
downloadsrc-089a3f75e9cae6dbb35946816ce014e5ccd59259.tar.gz
src-089a3f75e9cae6dbb35946816ce014e5ccd59259.zip
Add suseconds_t and useconds_t for storing microseconds.
Notes
Notes: svn path=/head/; revision=108190
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 3ea24c474969..f8884c6b8a6c 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -49,8 +49,10 @@ 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 long __suseconds_t; /* microseconds (signed) */
typedef __int32_t __timer_t; /* timer_gettime()... */
typedef __uint32_t __uid_t;
+typedef unsigned int __useconds_t; /* microseconds (unsigned) */
/*
* Unusual type definitions.