From nobody Fri Mar 11 10:07:58 2022 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 EB7271A12290; Fri, 11 Mar 2022 10:07:58 +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 4KFM7f622dz4kSK; Fri, 11 Mar 2022 10:07:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646993278; 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=zDYrLt0nyqPAHWFVipG5s7zuEFpr3fO7cfLHDsy/nlc=; b=O8aaUNMWBxF1JEShZsmn7tuBLAu/KP/cZDkcQFBXb86ZCcD0ylkznXSbesMa9bplJhOFio cgcOxPezQVwmxyMUAG7fEb7cAIKXR8Fk8Hgbhpc+CmyDLwL+cV+PKpBp4rOcm8CqinDxKx phK7o5y93UZl+4fmxFilEXOd0X8AOIP1KuwDePFvmsYGhMtJZf4u9eqzlChm0kYbDQQGo0 4AswbTUmO6hSxnvP5GKEOqEspBN1MXpYNGmE/pinjKXl6WTO2TjH8Fo4ahUTK7jzHZlqiD JE7Y6/oLZrqwqMrCrQ0+ltaCbM2dunhYjLMu/ls06lSfCQERM6mI4LXCvHa0ig== 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 A3702171D4; Fri, 11 Mar 2022 10:07:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22BA7wgW061389; Fri, 11 Mar 2022 10:07:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22BA7wAm061388; Fri, 11 Mar 2022 10:07:58 GMT (envelope-from git) Date: Fri, 11 Mar 2022 10:07:58 GMT Message-Id: <202203111007.22BA7wAm061388@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 85379a47c4cb - stable/13 - time.3: Update ERRORS section 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 85379a47c4cbf9366d05f0a3cc350b18557000d4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646993278; 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=zDYrLt0nyqPAHWFVipG5s7zuEFpr3fO7cfLHDsy/nlc=; b=TLLzKjrsG487kJWN3M1DkqveO6J+xG7aNbF66lHvndFrGv7sP3m/jwALOKkLXaXx8lUTt/ lY9ghyOWMX6i07DePSFQnbeW0gpDjj8qksgKYjvOvziiLzjMQTqvyGiB44NX8CLtpm1Ur4 n+P1/7iFUW9MHP1iEh8+m9hqPmsCr9Cch6fozVhA6sITIBOrwWKzxPu/9nRfKg0U2dxvXy DAX6Y5DgmZMHcbGVziKhoxpN3ZT67FG9uVEAi6wl4v+QS4nwoDkrLyM4aZ3KIeoawC9D48 2aqEfcU2mGpFpz3Y98frPREBIK3TA5Y7DWbvxzRBRrKr1HtvqxcxhMmO3sWXag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646993278; a=rsa-sha256; cv=none; b=rKYvYMEbkEc8UmZfctE97WOB931Hn2EVb4ydfz5zHbPpE45/khJyGRkGfTwqiHHJho0JDG fci4djRjPaoO27wRIwJFl86lYh2nfZjuCYoaDv/+Je0ywkDp1DpWHCOKvw2iK/aXWT8qB/ tdnZMLzmQWYCrpIJ5xOp2EgH4X/Xl7ZwLqpBQjoAwVHWjFvmJvRywRppr/cP/ZcX4DNfcR x2Oo8jRQlWNzB56K9l7HrNF6C5VFAt2a9S192uGJDMAi4GIyXJg1xG3uV0lg2lu9W68hmH PcX9gKDwo8V0QoMpBs3G7CV+AOpq4irh32IudDVd0/NA5111QGb6wEMGuCNY9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=85379a47c4cbf9366d05f0a3cc350b18557000d4 commit 85379a47c4cbf9366d05f0a3cc350b18557000d4 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-04 14:09:32 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-03-11 10:05:47 +0000 time.3: Update ERRORS section time() is now implemented using clock_gettime(2) instead of gettimeofday(2). Reviewed by: debdrup Fixes: 358ed16f7505 Use clock_gettime(CLOCK_SECOND) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34438 (cherry picked from commit 413045a52c5f14ac22516b4f622d0132dc34e882) --- lib/libc/gen/time.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/gen/time.3 b/lib/libc/gen/time.3 index 1ff703ff572a..1563e672b3ba 100644 --- a/lib/libc/gen/time.3 +++ b/lib/libc/gen/time.3 @@ -32,7 +32,7 @@ .\" @(#)time.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd July 18, 2003 +.Dd March 4, 2022 .Dt TIME 3 .Os .Sh NAME @@ -64,7 +64,7 @@ is non-null. The .Fn time function may fail for any of the reasons described in -.Xr gettimeofday 2 . +.Xr clock_gettime 2 . .Sh SEE ALSO .Xr clock_gettime 2 , .Xr gettimeofday 2 ,