Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Sort errors, remove extra comma.
details: https://anonhg.NetBSD.org/src/rev/d70ab4e20763
branches: trunk
changeset: 1023635:d70ab4e20763
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Sep 19 17:10:41 2021 +0000
description:
Sort errors, remove extra comma.
diffstat:
lib/libc/sys/timerfd.2 | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diffs (84 lines):
diff -r 19f96d2584e1 -r d70ab4e20763 lib/libc/sys/timerfd.2
--- a/lib/libc/sys/timerfd.2 Sun Sep 19 15:52:55 2021 +0000
+++ b/lib/libc/sys/timerfd.2 Sun Sep 19 17:10:41 2021 +0000
@@ -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 @@
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 @@
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 @@
.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 @@
.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 ,
Home |
Main Index |
Thread Index |
Old Index