diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-06 01:25:50 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-06 01:25:50 +0000 |
commit | 8599f9e108b853b72544216cf749e7fd896e9fa5 (patch) | |
tree | 4861c463993de7ec638af0671383605381207fb4 /sys | |
parent | f65c780eca74851556a757da215891467035e225 (diff) |
XPG4.2 compat:
1) usleep() and ualarm() use useconds_t not u_int
2) usleep() returns an int
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/types.h b/sys/sys/types.h index 1dd72e61c82..6159e50a7d5 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: types.h,v 1.10 1997/04/20 20:47:33 tholo Exp $ */ +/* $OpenBSD: types.h,v 1.11 1997/11/06 01:25:47 millert Exp $ */ /* $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ */ /*- @@ -81,6 +81,7 @@ typedef quad_t rlim_t; /* resource limit */ typedef int32_t segsz_t; /* segment size */ typedef int32_t swblk_t; /* swap offset */ typedef u_int32_t uid_t; /* user id */ +typedef u_int32_t useconds_t; /* microseconds */ /* * These belong in unistd.h, but are placed here too to ensure that |