Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/getitimer.2
| Show All 26 Lines | |||||
| .\" | .\" | ||||
| .Dd May 1, 2020 | .Dd May 1, 2020 | ||||
| .Dt GETITIMER 2 | .Dt GETITIMER 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm getitimer , | .Nm getitimer , | ||||
| .Nm setitimer | .Nm setitimer | ||||
| .Nd get/set value of interval timer | .Nd get/set value of interval timer | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/time.h | .In sys/time.h | ||||
| .Fd "#define ITIMER_REAL 0" | .Fd "#define ITIMER_REAL 0" | ||||
| .Fd "#define ITIMER_VIRTUAL 1" | .Fd "#define ITIMER_VIRTUAL 1" | ||||
| .Fd "#define ITIMER_PROF 2" | .Fd "#define ITIMER_PROF 2" | ||||
| .Ft int | .Ft int | ||||
| .Fn getitimer "int which" "struct itimerval *value" | .Fn getitimer "int which" "struct itimerval *value" | ||||
| .Ft int | .Ft int | ||||
| .Fn setitimer "int which" "const struct itimerval *value" "struct itimerval *ovalue" | .Fn setitimer "int which" "const struct itimerval *value" "struct itimerval *ovalue" | ||||
| ▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines | |||||