Add useconds_t and suseconds_t used for time in microseconds.
authorHasso Tepper <hasso@dragonflybsd.org>
Sun, 11 May 2008 03:39:49 +0000 (03:39 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Sun, 11 May 2008 03:39:49 +0000 (03:39 +0000)
sys/sys/types.h

index 8ba0d09..164d879 100644 (file)
@@ -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.18 2007/04/29 06:05:02 dillon Exp $
+ * $DragonFly: src/sys/sys/types.h,v 1.19 2008/05/11 03:39:49 hasso Exp $
  */
 
 #ifndef _SYS_TYPES_H_
@@ -105,6 +105,8 @@ typedef     quad_t          rlim_t;         /* resource limit */
 typedef        __int32_t       segsz_t;        /* segment size */
 typedef        __int32_t       swblk_t;        /* swap offset */
 typedef        __uint32_t      uid_t;          /* user id */
+typedef        __int32_t       suseconds_t;    /* microseconds (signed) */
+typedef        __uint32_t      useconds_t;     /* microseconds (unsigned) */
 
 #if defined(_KERNEL) || defined(_KERNEL_STRUCTURES)