mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Use useconds_t' instead of
u_int' or `unsigned int' where appropriate.
This commit is contained in:
parent
bc4ede2030
commit
07842325eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108380
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
int
|
||||
usleep(useconds)
|
||||
unsigned int useconds;
|
||||
useconds_t useconds;
|
||||
{
|
||||
struct timespec time_to_sleep;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user