Use useconds_t' instead of u_int' or `unsigned int' where appropriate.

This commit is contained in:
Mike Barcroft 2002-12-29 00:59:09 +00:00
parent bc4ede2030
commit 07842325eb
4 changed files with 7 additions and 7 deletions

View File

@ -42,8 +42,8 @@
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.In unistd.h .In unistd.h
.Ft u_int .Ft useconds_t
.Fn ualarm "u_int microseconds" "u_int interval" .Fn ualarm "useconds_t microseconds" "useconds_t interval"
.Sh DESCRIPTION .Sh DESCRIPTION
.Bf -symbolic .Bf -symbolic
This is a simplified interface to This is a simplified interface to

View File

@ -47,10 +47,10 @@ __FBSDID("$FreeBSD$");
* If ``reload'' is non-zero, keep generating SIGALRM * If ``reload'' is non-zero, keep generating SIGALRM
* every ``reload'' microseconds after the first signal. * every ``reload'' microseconds after the first signal.
*/ */
unsigned useconds_t
ualarm(usecs, reload) ualarm(usecs, reload)
unsigned usecs; useconds_t usecs;
unsigned reload; useconds_t reload;
{ {
struct itimerval new, old; struct itimerval new, old;

View File

@ -43,7 +43,7 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.In unistd.h .In unistd.h
.Ft int .Ft int
.Fn usleep "unsigned int microseconds" .Fn usleep "useconds_t microseconds"
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Fn usleep .Fn usleep

View File

@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$");
int int
usleep(useconds) usleep(useconds)
unsigned int useconds; useconds_t useconds;
{ {
struct timespec time_to_sleep; struct timespec time_to_sleep;