From patchwork Mon Sep 9 09:39:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1159649 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-105098-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="grV2Zehc"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46Rjmp3WXkz9sNF for ; Mon, 9 Sep 2019 19:39:37 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=qt5JEdRFk66AF8Hogu3FK+fG7k01G ZMfNdjmpK14yqOfYX1tbXK3wxWTP0+rlc+A9sHtbsaHnc8SPXolEWq+pYXc8rFUd BUPy286wsU4d0m6YEbUNYOVhQAa5RJ8zDlxRy8+AMw6++xFwluIF7efchp0Pa7i+ S8uaddfiW9bIxw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=t8ybaAP5gDYV/uKNTShxStVT/TU=; b=grV 2ZehcahM9UG3KYijInOOl2H9LaDhABDf7jLgWBq94x9n8RuiC0dghwIIWW9slKL2 JEXu3UzJG7gxMSzolAv8JQFoABGa6umA4TqtpDurCp6CxAOv9e04b/u9p5CfK+5d rhQwsYgYGQR+YC3WM0j2CMk2W6pda488lTd/stQs= Received: (qmail 119736 invoked by alias); 9 Sep 2019 09:39:32 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 119448 invoked by uid 89); 9 Sep 2019 09:39:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=tick, U** X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] manual: Fix some @code/@var formatting glitches chapter Date And Time Date: Mon, 09 Sep 2019 11:39:28 +0200 Message-ID: <87zhjdlsfj.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 2019-09-09 Florian Weimer * manual/time.texi (High Accuracy Clock): Fix @code/@var formatting. (Sleeping): Likewise. diff --git a/manual/time.texi b/manual/time.texi index c5f5b94b67..46d0f9d482 100644 --- a/manual/time.texi +++ b/manual/time.texi @@ -1103,11 +1103,11 @@ exceeded the threshold. The @code{ntp_adjtime} function sets the structure specified by @var{tptr} to current values. -In addition, @code{ntp_adjtime} updates some settings to match what you -pass to it in *@var{tptr}. Use the @code{modes} element of *@var{tptr} -to select what settings to update. You can set @code{offset}, -@code{freq}, @code{maxerror}, @code{esterror}, @code{status}, -@code{constant}, and @code{tick}. +In addition, @code{ntp_adjtime} updates some settings to match what +you pass to it in @code{*@var{tptr}}. Use the @code{modes} element of +@code{*@var{tptr}} to select what settings to update. You can set +@code{offset}, @code{freq}, @code{maxerror}, @code{esterror}, +@code{status}, @code{constant}, and @code{tick}. @code{modes} = zero means set nothing. @@ -2878,12 +2878,12 @@ nanoseconds. The actual elapsed time of the sleep interval might be longer since the system rounds the elapsed time you request up to the next integer multiple of the actual resolution the system can deliver. -*@code{requested_time} is the elapsed time of the interval you want to -sleep. +@code{*@var{requested_time}} is the elapsed time of the interval you +want to sleep. -The function returns as *@code{remaining} the elapsed time left in the -interval for which you requested to sleep. If the interval completed -without getting interrupted by a signal, this is zero. +The function returns as @code{*@var{remaining}} the elapsed time left +in the interval for which you requested to sleep. If the interval +completed without getting interrupted by a signal, this is zero. @code{struct timespec} is described in @xref{Elapsed Time}.