From nobody Mon May 06 21:52:37 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VYFWT3YZFz5JQR6; Mon, 06 May 2024 21:52:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VYFWT2z8zz4N00; Mon, 6 May 2024 21:52:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715032357; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DYy6Qt+OMiwU6LqxIEw/srxYwMLEDnuseGdyQfglmgk=; b=nRy4eXUnz8edmGs3o1IDgkNgsvEleq23aMBtKBRXCIdEFdjbmYxmAnPEDDH6wWFOJy2WTB yj7Mj4j337fXmH4Ya9BGxauecoxnA16JLn+0sJxMAircDiUhiYcoZp8wXIWf9oGnHC96FY a1FlnLYvvM/AtNpH7Zbnlnn3s/72Rj4QW95rCSyKZhCUqHrLDr/CIaC874JdiWXnQjCg+y AKEBVn6O5VWVsKt3+bQvmOev+g/9czL4i+AU5311jm6bsQTZe4Vqm8koPb0IZ46FpBpUF0 TvOrRJROgNf8v4POMVHqxcVVOxpt6BqxL/HwPalUEYDWJi1QWcfPIHZp6e4cOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715032357; a=rsa-sha256; cv=none; b=oCqYfWJzLDIG6eIu1WIzjqG46MKXCuCjt83/9fpdsq5oLOLPEtHeifSQ7xAKlaU7uYzZNr upsyarJ//Z+i79nVUxZFRSNWRiECpTPnYkOeMerbm9Sk/BgS7rAwAfzGPRa3g5J57SVheh KjCgfTTno3DHTzQG9hel/IjTEiBbvbZeHCCZQt7+WZh+TP5WO/B2Ale9UCs9UuoBfVYHZY FnFx6bn3FUovkrwlTmO3LS4wsEYlK5Z+f3/1htEJr+r1fykEpFiBr+Vq2unKyUPEnsqwWT /rPwUeWsWbknU11d+sVF/vXpumKAPNuWyfoPnIFIY07waUt98mitAH7dlpe5IA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715032357; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DYy6Qt+OMiwU6LqxIEw/srxYwMLEDnuseGdyQfglmgk=; b=xFpEQ4kdYUKdu5BliGDPAIMMs4N5JsOFAvkOXWK8G7V1vYbLus5D06h9h81fNvFpimV7gI TVHMnS5VjNen/eZjULtZJJNLUsnJvromncAB2fYMhbQxiEGiVQKeEFalvt60jP8JVF48S4 p+a47AE3cxZI0K6c3zyWum4N4kYNgJMVtDX/TS/E7iGwX2N2QRrldJgvKSe+bFjRb3FpOp caI35PPJAM20U+ovlMDMMZdR1pI/niCrf508z/JE0Ta4aAg9inKTF4bneL8EWuFcQ2UtGK b67LsXNC5UAgwoupMz+5Q5e3nLMzDlEG9JhFBRsQX7jRmAHHgZdX0B1qxVui2A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VYFWT2bBSzF6Z; Mon, 6 May 2024 21:52:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 446LqbFM099841; Mon, 6 May 2024 21:52:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 446LqbSQ099838; Mon, 6 May 2024 21:52:37 GMT (envelope-from git) Date: Mon, 6 May 2024 21:52:37 GMT Message-Id: <202405062152.446LqbSQ099838@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 2d29d2ecebf8 - main - clock_gettime.2: fix markup List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d29d2ecebf8ea19221995b3ea2e3a7ac700bf81 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=2d29d2ecebf8ea19221995b3ea2e3a7ac700bf81 commit 2d29d2ecebf8ea19221995b3ea2e3a7ac700bf81 Author: Ed Maste AuthorDate: 2024-05-06 19:59:42 +0000 Commit: Ed Maste CommitDate: 2024-05-06 21:52:22 +0000 clock_gettime.2: fix markup The CLOCK_* constants are "defined variable or preprocessor constants" and so use .Dv. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45106 --- lib/libsys/clock_gettime.2 | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/libsys/clock_gettime.2 b/lib/libsys/clock_gettime.2 index a0f1274f0eff..82f6615e8b93 100644 --- a/lib/libsys/clock_gettime.2 +++ b/lib/libsys/clock_gettime.2 @@ -94,35 +94,35 @@ Returns the execution time of the calling thread. .El .Pp The clock IDs -.Fa CLOCK_REALTIME , -.Fa CLOCK_MONOTONIC , +.Dv CLOCK_REALTIME , +.Dv CLOCK_MONOTONIC , and -.Fa CLOCK_UPTIME +.Dv CLOCK_UPTIME perform a full time counter query. The clock IDs with the _FAST suffix, i.e., -.Fa CLOCK_REALTIME_FAST , -.Fa CLOCK_MONOTONIC_FAST , +.Dv CLOCK_REALTIME_FAST , +.Dv CLOCK_MONOTONIC_FAST , and -.Fa CLOCK_UPTIME_FAST , +.Dv CLOCK_UPTIME_FAST , do not perform a full time counter query, so their accuracy is one timer tick. Similarly, -.Fa CLOCK_REALTIME_PRECISE , -.Fa CLOCK_MONOTONIC_PRECISE , +.Dv CLOCK_REALTIME_PRECISE , +.Dv CLOCK_MONOTONIC_PRECISE , and -.Fa CLOCK_UPTIME_PRECISE +.Dv CLOCK_UPTIME_PRECISE are used to get the most exact value as possible, at the expense of execution time. The clock IDs -.Fa CLOCK_REALTIME_COARSE +.Dv CLOCK_REALTIME_COARSE and -.Fa CLOCK_MONOTONIC_COARSE +.Dv CLOCK_MONOTONIC_COARSE are aliases of corresponding IDs with _FAST suffix for compatibility with other systems. Finally, -.Fa CLOCK_BOOTTIME +.Dv CLOCK_BOOTTIME is an alias for -.Fa CLOCK_UPTIME +.Dv CLOCK_UPTIME for compatibility with other systems and is unrelated to the .Fa kern.boottime .Xr sysctl 8 . @@ -140,7 +140,7 @@ struct timespec { .Ed .Pp Only the super-user may set the time of day, using only -.Fa CLOCK_REALTIME . +.Dv CLOCK_REALTIME . If the system .Xr securelevel 7 is greater than 1 (see @@ -188,14 +188,14 @@ and system calls conform to .St -p1003.1b-93 . The clock IDs -.Fa CLOCK_REALTIME_FAST , -.Fa CLOCK_REALTIME_PRECISE , -.Fa CLOCK_MONOTONIC_FAST , -.Fa CLOCK_MONOTONIC_PRECISE , -.Fa CLOCK_UPTIME , -.Fa CLOCK_UPTIME_FAST , -.Fa CLOCK_UPTIME_PRECISE , -.Fa CLOCK_SECOND +.Dv CLOCK_REALTIME_FAST , +.Dv CLOCK_REALTIME_PRECISE , +.Dv CLOCK_MONOTONIC_FAST , +.Dv CLOCK_MONOTONIC_PRECISE , +.Dv CLOCK_UPTIME , +.Dv CLOCK_UPTIME_FAST , +.Dv CLOCK_UPTIME_PRECISE , +.Dv CLOCK_SECOND are .Fx extensions to the POSIX interface.