From patchwork Sat Dec 3 20:23:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 29323 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1510445wrr; Sat, 3 Dec 2022 12:25:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf4kZPNPFULYfh5nK2iB0dfACXHMnTEir7ziNmk6k/iujj9x+wF39paZxJl/DpwBLn+JPfvJ X-Received: by 2002:a17:903:50c:b0:189:6de9:deb9 with SMTP id jn12-20020a170903050c00b001896de9deb9mr39282013plb.153.1670099153740; Sat, 03 Dec 2022 12:25:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670099153; cv=none; d=google.com; s=arc-20160816; b=C131LeImZXnHUrXg7aUUQuYj1QTvJyOWp7FNdeh8MOKh9lyA1WGkfZclvU9a9Xdx7P 3iIWoFjBAXdE/jwZsBjJZvTcmvAF22alokBhthq5+OJb8emWqBm8922UMURWKy9EOP/x Joj5s+EGBW/lRbitFtXhKPtA7CZXMPdYrScw02dPc/thvgFpAcIzFVD1bJKLZ13Jok8Y fe2KSKgVjXLLPD7M/qyOO0xXilSaIZHa9rcpA5IbB7G1IbQz9hwYvLMMWaPkFB3bWCE6 IrN6MVTY6VcR9ZU3ps8P+qBkmkWknxyL9bZ4wb8UlFXDfBoV4t+tcl+/xMLlWJyvAd/T v7Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2GaIXDtBbV20KozeERajGOhceV7IwDabqvs06lwVtd8=; b=KzhyhPV+KB6c5ZGQjRHLmCDghBv5VO2KbCQ+mK666zOYn3xtkb3oe9EaoZpY2thklb BP8z05m/HWicbac3VFEht2GbS9XUiIm9phdUOlHwQlNh3md4DFStaJ/2svVqTOJUGRl9 bK0LAicHpb4rb7BzbZx8pN4xRfGcEAWTeOETRKQ9bM7CR1imaWBLX/RRqS+yJyhGMh5K TwW3JbqjZn4qjYw46VBNKQAUhdXUeTf9uhRiFSyibXWCHcibjOd98hQqmGrmGE9TSgbA Pkgnfv4hKFdZ4/xOW1aj2wG1Xh7QmIOnf9tYTqiM31WcYslFg1F8WsGtBRIRJCcCutEb TAXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nu4M1blY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mw5-20020a17090b4d0500b0021903cece58si11637852pjb.48.2022.12.03.12.25.40; Sat, 03 Dec 2022 12:25:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nu4M1blY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230085AbiLCUZO (ORCPT + 99 others); Sat, 3 Dec 2022 15:25:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230063AbiLCUYa (ORCPT ); Sat, 3 Dec 2022 15:24:30 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E4CE1EEC0; Sat, 3 Dec 2022 12:23:39 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id n16-20020a05600c3b9000b003d08febff59so2234358wms.3; Sat, 03 Dec 2022 12:23:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2GaIXDtBbV20KozeERajGOhceV7IwDabqvs06lwVtd8=; b=nu4M1blYUkxqL3Lx1EqkpSLHQE2NReYKQubtMQkQskf+RrVAhMo9rNNbN7HWRCsnWS 1AeCKZsmJsgzckfS32UTR+50xQs32/Bg26GG0TnLXmdEdOD245nwd0gmbDUjtej2lBH/ yfITEN3foxvKAac0drIEejY649wX7kbtmz6FjMmKU5/tG1H0hHRV07BfeH1yCyWaod2S /Bdy47+D5yFSCKImcZdB6amJbanH1aSrc3ZZMP90buW66KOrU+xPSQl8dDn6lUXY+cd9 RW+MsHCofcd+/F1/kIm64PNikcsh5RuLqkG/Yufn6HMULavtk37o+rajmT4PpFiyQ9A0 /xNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2GaIXDtBbV20KozeERajGOhceV7IwDabqvs06lwVtd8=; b=Nk1bMSxNsQKTQvlrd9H++7uK8NDleaqDtjhy488uRlVpmR59/lk2D06EbQilA1MAFM i0ngKPbOY9RaVkA6E40oKEYVkEjd4aDcBZozeA5wWHHxgKGVIM3vyGEqpGRHKxN0H26L Mh0neRJihZsveS5JvYsucvSaKLx4AL3hQd+7r99bfOVGB2MAjl8ZA51d3X+yNR/A9ZHQ YOM32RIAC2O4yLuF2LZg/aRe9z0MZm4gK2DIiDQ6jDnos4GVQNmiIV4HGTkPdj7p4lLl OILhqJ8nu7OKKs3qFy5URohoxF1z55P+zpvGHNV9Hm8wJ1ujGodqA3PDtUTvXsMzoNY5 4RzA== X-Gm-Message-State: ANoB5pnJwys/VfoPzEtTFFV5dD/Xg1LAFeggbugZpkH16j6MmrDAfbYu goB9QZlcpTU7CnpICC7Mr/OL+CZeCkk= X-Received: by 2002:a05:600c:31a3:b0:3cf:4757:fc3 with SMTP id s35-20020a05600c31a300b003cf47570fc3mr56710605wmp.172.1670099018096; Sat, 03 Dec 2022 12:23:38 -0800 (PST) Received: from asus5775.alejandro-colomar.es ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id p17-20020a5d68d1000000b002420cfcd13dsm10064481wrw.105.2022.12.03.12.23.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Dec 2022 12:23:37 -0800 (PST) From: Alejandro Colomar X-Google-Original-From: Alejandro Colomar To: linux-man@vger.kernel.org Cc: Alejandro Colomar , libc-alpha@sourceware.org, linux-kernel@vger.kernel.org Subject: [PATCH 25/41] select.2: SYNOPSIS: Add _Nullable Date: Sat, 3 Dec 2022 21:23:01 +0100 Message-Id: <20221203202317.252789-26-alx@kernel.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221203202317.252789-1-alx@kernel.org> References: <20221203202317.252789-1-alx@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751225890334214411?= X-GMAIL-MSGID: =?utf-8?q?1751225890334214411?= Signed-off-by: Alejandro Colomar --- man2/select.2 | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/man2/select.2 b/man2/select.2 index 199522a01..f13d20420 100644 --- a/man2/select.2 +++ b/man2/select.2 @@ -30,19 +30,21 @@ .SH SYNOPSIS .PP .BR typedef " /* ... */ " fd_set; .PP -.BI "int select(int " nfds ", fd_set *restrict " readfds , -.BI " fd_set *restrict " writefds ", fd_set *restrict " exceptfds , -.BI " struct timeval *restrict " timeout ); +.BI "int select(int " nfds ", fd_set *_Nullable restrict " readfds , +.BI " fd_set *_Nullable restrict " writefds , +.BI " fd_set *_Nullable restrict " exceptfds , +.BI " struct timeval *_Nullable restrict " timeout ); .PP .BI "void FD_CLR(int " fd ", fd_set *" set ); .BI "int FD_ISSET(int " fd ", fd_set *" set ); .BI "void FD_SET(int " fd ", fd_set *" set ); .BI "void FD_ZERO(fd_set *" set ); .PP -.BI "int pselect(int " nfds ", fd_set *restrict " readfds , -.BI " fd_set *restrict " writefds ", fd_set *restrict " exceptfds , -.BI " const struct timespec *restrict " timeout , -.BI " const sigset_t *restrict " sigmask ); +.BI "int pselect(int " nfds ", fd_set *_Nullable restrict " readfds , +.BI " fd_set *_Nullable restrict " writefds , +.BI " fd_set *_Nullable restrict " exceptfds , +.BI " const struct timespec *_Nullable restrict " timeout , +.BI " const sigset_t *_Nullable restrict " sigmask ); .fi .PP .RS -4