From patchwork Sun Sep 20 18:05:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40461 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8BAD93860C38; Sun, 20 Sep 2020 18:06:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8BAD93860C38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1600625209; bh=TjB3DapvNpGrqWmWt4MCPPKQPoM3j9bVSq3D5a/jKPY=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ngSO57IEyPhWTMXOcDepGrvlZD/GBVS0IYROyVN86WHPu3hmua/uwI1sqzYVjsDG3 inmXy53/oa8wJARhqEsZ81TKXqaLzCsIfg1CXqMHZRO+nyv6DrQDe2uNOFVURbcy6W t3nO3T1QwbKyIy3eJ+Af5TRr4ksdGoZstF7CMJYc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by sourceware.org (Postfix) with ESMTPS id 2887D385700C for ; Sun, 20 Sep 2020 18:06:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2887D385700C Received: by mail-wm1-x341.google.com with SMTP id y15so10317687wmi.0 for ; Sun, 20 Sep 2020 11:06:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TjB3DapvNpGrqWmWt4MCPPKQPoM3j9bVSq3D5a/jKPY=; b=AkhwJk80P1E2NyzISBimrFZBd/gzuNDzjdh3pvSpRgYYy3BIp3bloy24XTMD8Up55/ TyAxiBXyyoRXbKC+ekzUe7gVJ891+VGHCTHsHFbBIWyDMWvvrUxJwIO9hrhrdRRWXbOc wOFlbjCe7ohcK6kswFmklCBmYEbPsy1RGUAw0XQIjeLUbxpUbZRi3zGMn7qD1owhWDQF 3AUqWc9hYA6KtUvL3x0Sc71kSSFLMLo838wGZe6pPy3ajvQAfmHdSup83Gmc3nHcb4NJ pvC4DMOYlIC1rwTlFJ+zvR7eauB+L8UiVfL6mN75MaF6soZd0JPz8IYY53CHFxfWk+r1 G/tQ== X-Gm-Message-State: AOAM530zLQCTDxLkHXWWhSkYfSV+/2bRHDdpHEVax+WiehkxdpM7WWuT EO3+XZAqO+YkHw3L1ojhY9U= X-Google-Smtp-Source: ABdhPJySWDxLK4UmMND8Qa2AWP8o0Zfrk3K4ACCzTlXViAdtePA9Ea3u62meEcR8l+9tuWtg+299Vg== X-Received: by 2002:a1c:5a86:: with SMTP id o128mr25192512wmb.129.1600625206094; Sun, 20 Sep 2020 11:06:46 -0700 (PDT) Received: from localhost.localdomain ([93.115.133.118]) by smtp.googlemail.com with ESMTPSA id d2sm16402029wro.34.2020.09.20.11.06.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Sep 2020 11:06:45 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v2 8/9] system_data_types.7: Document siginfo_t Date: Sun, 20 Sep 2020 20:05:51 +0200 Message-Id: <20200920180551.63608-1-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Note: There are a few members off this structure that are not required by POSIX (XSI extensions, and such). I simply chose to not document them at all. Signed-off-by: Alejandro Colomar --- Hello Michael, Clearly I needed the weekend! Here's the patch as it should have been. Cheers, Alex man7/system_data_types.7 | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index a7955f331..080f0057f 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -213,6 +213,39 @@ See also: See also the .I aiocb structure in this page. +.\"------------------------------------- siginfo_t --------------------/ +.TP +.I siginfo_t +.IP +Include: +.IR ; +or +.IR . +.IP +.EX +typedef struct { + int si_signo; /* Signal number */ + int si_code; /* Signal code */ + + pid_t si_pid; /* Sending process ID */ + uid_t si_uid; /* Real user ID of sending process */ + void *si_addr; /* Address of faulting instruction */ + int si_status; /* Exit value or signal */ + + union sigval si_value; /* Signal value */ +} siginfo_t; +.EE +.\".IP +.\" FIXME: Add a description? +.IP +Conforming to: POSIX.1-2001 and later. +.IP +See also: +.BR pidfd_send_signal (2), +.BR rt_sigqueueinfo (2), +.BR sigaction (2), +.BR sigwaitinfo (2), +.BR psiginfo (3) .\"------------------------------------- sigval -----------------------/ .TP .I sigval @@ -239,9 +272,9 @@ See also: See also the .I sigevent structure -.\"and the -.\".I siginfo_t FIXME -.\"type +and the +.I siginfo_t +type in this page. .\"------------------------------------- size_t -----------------------/ .TP