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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108380
4 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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