git: 314542de6d0a - main - clock_gettime: Minor clarification
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Oct 2023 17:26:55 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=314542de6d0a044640d349d68b2d1a1fe5f427ff
commit 314542de6d0a044640d349d68b2d1a1fe5f427ff
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-08-03 16:24:47 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-10-27 17:20:28 +0000
clock_gettime: Minor clarification
Add a note saying that the CLOCK_BOOTTIME is unrelated to FreeBSD's
kern.boottime sysctl. Make a minor tweak to markup.
Feedback from: pauammu
Sponsored by: Netflix
Differential Revsion: https://reviews.freebsd.org/D36037
---
lib/libc/sys/clock_gettime.2 | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2
index ed469153a40e..a0f1274f0eff 100644
--- a/lib/libc/sys/clock_gettime.2
+++ b/lib/libc/sys/clock_gettime.2
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd July 8, 2022
+.Dd October 27, 2023
.Dt CLOCK_GETTIME 2
.Os
.Sh NAME
@@ -120,10 +120,12 @@ and
are aliases of corresponding IDs with _FAST suffix for compatibility with other
systems.
Finally,
-.Dv CLOCK_BOOTTIME
+.Fa CLOCK_BOOTTIME
is an alias for
-.Dv CLOCK_UPTIME
-for compatibility with other systems.
+.Fa CLOCK_UPTIME
+for compatibility with other systems and is unrelated to the
+.Fa kern.boottime
+.Xr sysctl 8 .
.Pp
The structure pointed to by
.Fa tp