From patchwork Fri Sep 18 17:04:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1367097 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=sourceware.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=p/rGAyj3; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 4BtKvy3VbGz9sRf for ; Sat, 19 Sep 2020 03:05:18 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6A4F439724BF; Fri, 18 Sep 2020 17:05:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6A4F439724BF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1600448706; bh=fW0x58u4mE/ClCvm3tVSGnzntro9bdBmymrzQVWitaY=; 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=p/rGAyj3/OnTrwC9sscZK0iYafc5y/lmEy/1u13GdGzQt3kKyqwzRR/d5+QFKnhat sl+6CK/OJmCXgsPQ9doeefbmD87kufzpqfol+5ggWtszym8eLpxPVZLz2/6g2tMTM4 LEoc7oG/auGRtZlQ77rY8J/ylcZdUXyqAn7YhDuk= 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 A8BAE3972456 for ; Fri, 18 Sep 2020 17:05:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A8BAE3972456 Received: by mail-wm1-x341.google.com with SMTP id e17so6000976wme.0 for ; Fri, 18 Sep 2020 10:05:03 -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=fW0x58u4mE/ClCvm3tVSGnzntro9bdBmymrzQVWitaY=; b=sXpYaqoIw3ut8RyAWZPzAhuNqzH75/0swBVzuHuR7KxZaKacUsxiK47Qkzk/Mhrpmy mbFRhaG9bJ0yhf7GK36QbGfXV62JTSTvt38cD8r8ov4aAEajPsgVRC7gQkngxmVaeeIh ey6eMCcffM9ISpMPbVDy3PWQQcfS7fL5USkxfngBcRYl9yHNT8n++0ZrhD+CKpZgXmqK gKMvqdT2e+OpzJjxF/AWiA/Ft9be7lobNXUNdMVuwVE2MbX/cl/nJyzYMAM6tE/2IU77 MMO6+Nam5vXpci5YLqjVZssXV3OiGHHnZ1Cg8pBEWIaojoVZS0WkFg8256JOW5p90MxA JDxg== X-Gm-Message-State: AOAM532wpQy9W0MpQ/7grd1GCcdmGYfvBB2f1VY9JLc66dvx+kELBKdE JOvvKkEP+XqyU46DmKO69zE= X-Google-Smtp-Source: ABdhPJxCiUTe8oUXtzxVCCW6W5LYe1Pl2kMGQWwjU3rd8eCUWxuzNfqSQbOu3qV+EqHl18YLmuMLnw== X-Received: by 2002:a1c:e389:: with SMTP id a131mr17078161wmh.181.1600448702822; Fri, 18 Sep 2020 10:05:02 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id q18sm6321208wre.78.2020.09.18.10.05.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Sep 2020 10:05:02 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH 3/9] system_data_types.7: Document sigevent Date: Fri, 18 Sep 2020 19:04:37 +0200 Message-Id: <20200918170442.94920-4-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200918170442.94920-1-colomar.6.4.3@gmail.com> References: <20200918170442.94920-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-9.6 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, 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" Signed-off-by: Alejandro Colomar --- man7/system_data_types.7 | 57 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 48871e4eb..53c289e31 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -133,6 +133,51 @@ and .I ssize_t types in this page. .TP +.I sigevent +.IP +Include: +.IR ; +or +.I +or +.I +or +.IR . +.IP +.EX +struct sigevent { + int sigev_notify; /* Notification type */ + int sigev_signo; /* Signal number */ + union sigval sigev_value; /* Signal value */ + void (*sigev_notify_function)(union sigval); + /* Notification function */ + pthread_attr_t *sigev_notify_attributes; + /* Notification attributes */ +}; +.EE +.\".IP +.\" FIXME: Add a description? +.IP +Conforming to: POSIX.1-2001 and later. +.IP +Notes: +.I +and +.I +define +.I sigevent +since POSIX.1-2008. +.IP +See also: +.BR timer_create (2), +.BR getaddrinfo_a (3), +.BR lio_listio (3), +.BR mq_notify (3) +.\".IP +.\"See also the +.\".I aiocb FIXME +.\"structure in this page. +.TP .I sigval .IP Include: @@ -153,12 +198,14 @@ See also: .BR pthread_sigqueue (3), .BR sigqueue (3), .BR sigevent (7) -.\".IP -.\"See also the -.\".I sigevent FIXME -.\"structure and the +.IP +See also the +.I sigevent +structure +.\"and the .\".I siginfo_t FIXME -.\"type in this page. +.\"type +in this page. .TP .I size_t .IP