diff options
| author | wiz <wiz@NetBSD.org> | 2021-09-19 17:10:41 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2021-09-19 17:10:41 +0000 |
| commit | 1313c65e028574bdb1105c72fb30fd4939ff31dd (patch) | |
| tree | ba26db2056e61882bc6772c66133ea57f8b1f076 /lib/libc/sys/timerfd.2 | |
| parent | 036aab1a1cf48adaf62bd6b529d17174951a484a (diff) | |
Sort errors, remove extra comma.
Diffstat (limited to 'lib/libc/sys/timerfd.2')
| -rw-r--r-- | lib/libc/sys/timerfd.2 | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/libc/sys/timerfd.2 b/lib/libc/sys/timerfd.2 index 0180e757fc5..d707c53e837 100644 --- a/lib/libc/sys/timerfd.2 +++ b/lib/libc/sys/timerfd.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: timerfd.2,v 1.1 2021/09/19 15:51:28 thorpej Exp $ +.\" $NetBSD: timerfd.2,v 1.2 2021/09/19 17:10:41 wiz Exp $ .\" .\" Copyright (c) 2021 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -34,7 +34,7 @@ .Nm timerfd , .Nm timerfd_create , .Nm timerfd_gettime , -.Nm timerfd_settime , +.Nm timerfd_settime .Nd create and interact with a timer descriptor .Sh SYNOPSIS .In sys/timerfd.h @@ -225,16 +225,16 @@ system call fails if: The argument .Fa fd is not a valid file descriptor. +.It Bq Er EFAULT +The +.Fa tim +argument points outside the allocated address space. .It Bq Er EINVAL The argument .Fa fd does not refer to a .Nm timerfd object. -.It Bq Er EFAULT -The -.Fa tim -argument points outside the allocated address space. .El .Pp The @@ -245,6 +245,12 @@ system call fails if: The argument .Fa fd is not a valid file descriptor. +.It Bq Er EFAULT +The +.Fa tim +or +.Fa otim +arguments point outside the allocated address space. .It Bq Er EINVAL The argument .Fa fd @@ -264,21 +270,12 @@ A nanosecond field in the .Fa tim argument specified a value less than zero or greater than or equal to .Dv 10e9 . -.It Bq Er EFAULT -The -.Fa tim -or -.Fa otim -arguments point outside the allocated address space. .El .Pp A read from a .Nm object fails if: .Bl -tag -width Er -.It Bq Er EINVAL -The size of the read buffer is less than 8 bytes -.Pq the size required to hold an unsigned 64-bit integer . .It Bq Er EAGAIN The value of the .Nm @@ -298,6 +295,9 @@ flag, and the system realtime clock was changed with .Xr clock_settime 2 or .Xr settimeofday 2 . +.It Bq Er EINVAL +The size of the read buffer is less than 8 bytes +.Pq the size required to hold an unsigned 64-bit integer . .El .Sh SEE ALSO .Xr clock_settime 2 , |
