From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (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) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5B4DD1F55B for ; Sat, 16 May 2020 09:56:16 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 862AE383F866; Sat, 16 May 2020 09:56:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 862AE383F866 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1589622975; bh=Hvq5EkSTPEKnmJmS5J2FU2ypFRFq/c+eSMrqIdVjboc=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ItScBz/VHPKdCg2ptaZFvMKDpgFRpBMyaoChT+yfERLB3WAcRzNCbAReh/GLRR8Pg de0df+TLY/nLzyxXehwalOClNJOI60L4X07Rf67/PTIAHkeFYK6VfkIhbXzNTEYPly E06ooKQn8ShqfAVFcm1Zl5W8Nzkg/0lZEj0CXxog= Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by sourceware.org (Postfix) with ESMTPS id 6B45F38708FF for ; Sat, 16 May 2020 09:56:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6B45F38708FF Received: by mail-ej1-x642.google.com with SMTP id z5so4417592ejb.3 for ; Sat, 16 May 2020 02:56:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=Hvq5EkSTPEKnmJmS5J2FU2ypFRFq/c+eSMrqIdVjboc=; b=VvKLI0A8ZLcZzpWkt2ZxzYRk0fdsy6P7Tcl+qplDpozMs0pv3ZLMPQuozV7sAgAhcb n04cTjlwwa7RTTBpQ4hmkZquBEMDXN+SE9yZOtoYhpUUZBV8fpa5g6iYO3ph3DJeat8W a2GeyDwDHBWJAED2eePTLivD1OvYZKB4KZwrNcXbSRWn5z8bRXNL9WD8kfaus3dOi0eU e8CeE1WUiuVxTitKWBjzMs90uT5p+sP9KzYZ5ZkK+E9LBx7/S4FnY+ZJbJ8Xhi854XLc jwSIpZYx5CiGvdqtomRxWBEikhGbdPAXgqLd28/byfQbUkc/4mkYjKKPvoKWPMF7Ujxd GfpQ== X-Gm-Message-State: AOAM531NAdywokxPKaNh3VG8Z07DmSun4CXiiAT1ZHLLXWvlGdOxIlbU JTLrg312S09t2CnD1L6JRtF6hgXsHHODroXjiFU= X-Google-Smtp-Source: ABdhPJyDMa5ypT2j0wKe/VX8Oc2eFMlX6U7dhyG/5VnPiuKhk+JXoWi0p4bUG+HjiFBa2ATZwOb2SaMonoEI9tA4KqM= X-Received: by 2002:a17:906:2604:: with SMTP id h4mr6406094ejc.307.1589622971485; Sat, 16 May 2020 02:56:11 -0700 (PDT) MIME-Version: 1.0 References: <87h7zfn6rm.fsf@oldenburg2.str.redhat.com> <87sgg0jkp0.fsf@oldenburg2.str.redhat.com> In-Reply-To: <87sgg0jkp0.fsf@oldenburg2.str.redhat.com> Date: Sat, 16 May 2020 11:56:00 +0200 Message-ID: Subject: Re: [PATCH] manual: Document the System V sigpause function To: Florian Weimer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "Michael Kerrisk \(man-pages\) via Libc-alpha" Reply-To: mtk.manpages@gmail.com Cc: libc-alpha Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Hi Florian, On Sat, 16 May 2020 at 11:25, Florian Weimer wrote: > > * Michael Kerrisk: > > >> +@deftypefun int sigpause (int @var{signal}) > >> +@standards{XOPEN, signal.h} > >> +@safety{@prelim{}@mtunsafe{@mtasurace{:sigprocmask}}@asunsafe{@asuloc= k{/hurd}}@acunsafe{@aculock{/hurd}}} > >> +This deprecated function is a precursor to the @code{sigsuspend} > >> +function (@pxref{Waiting for a Signal}): it removes @var{signal} from > >> +the thread's signal mask, and waits for a signal to arrive. On retur= n > >> +the previous set of blocked signals is restored. > > > > s/previous set of blocked signals is restored/thread's previous signal > > mask is restored/ ? > > =E2=80=9CSet of blocked signals=E2=80=9D is the term preferred by the res= t of the > manual. Maybe so, but: * "set of blocked signals" is clunky and a bit imprecise (POSIX uses the term mask) * In the very preceding line, you yourself wrote "thread's signal mask"... Maybe the rest of the manual should be fixed? Thanks, Michael