mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 22:23:08 +00:00
timerfd.2: Add documentation for CLOCK_UPTIME and CLOCK_BOOTTIME
Add CLOCK_UPTIME and CLOCK_BOOTTIME options and a quick pointer to clock_gettime(2) for a better definition of these values. Reviewed-by: imp (small tweaks and added Xr) Pull-Request: https://github.com/freebsd/freebsd-src/pull/1302
This commit is contained in:
parent
239e24eb0c
commit
172328c477
@ -23,7 +23,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd May 21, 2023
|
||||
.Dd June 28, 2024
|
||||
.Dt TIMERFD 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -95,9 +95,16 @@ argument specifies the clock used as a timing base and may be:
|
||||
.Bl -tag -width "Dv CLOCK_MONOTONIC" -compact
|
||||
.It Dv CLOCK_REALTIME
|
||||
Increments as a wall clock should.
|
||||
.It Dv CLOCK_BOOTTIME
|
||||
.It Dv CLOCK_MONOTONIC
|
||||
Increments monotonically in SI seconds.
|
||||
.It Dv CLOCK_UPTIME
|
||||
Increments monotonically in SI seconds, but is paused while the system is
|
||||
suspended.
|
||||
.El
|
||||
See
|
||||
.Xr clock_gettime 2
|
||||
for more precise definitions.
|
||||
.Pp
|
||||
The
|
||||
.Fa flags
|
||||
|
Loading…
Reference in New Issue
Block a user