Use useconds_t' instead of
u_int' or `unsigned int' where appropriate.
This commit is contained in:
parent
bc4ede2030
commit
07842325eb
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user