Message ID | 20221203202317.252789-24-alx@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1510670wrr; Sat, 3 Dec 2022 12:26:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf5pmWGhyiOVgDvkxlgeof+xoCbPsRLdC7C7Q6i68e1/oyikSP17rC7ywlsdA4gP/9Tx208H X-Received: by 2002:a17:902:e9cc:b0:189:ad0c:4027 with SMTP id 12-20020a170902e9cc00b00189ad0c4027mr17728957plk.63.1670099203016; Sat, 03 Dec 2022 12:26:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670099203; cv=none; d=google.com; s=arc-20160816; b=B5AXqoE3ReqU8JL3Tw1u7WHApH7nbwtzlfyffPAE4dulh58t8aWhO44JawxBOwSXw3 23a/vIeGlKeCVFaKUW/VcQzegc/QRlSvh80L0d1ubtA3MYPJ2VMSFOzaNpfen5QCbdva 4nG7e4oQzE93JFcme0skQTIqlZSU9o+4r5cEUDOEKHJNvfQRtGO4lebuNs0WCwjmiW1j 5EeGphI29bFEtQzCeK8K+qXXK+XEnikFNnpXUlje3DHjkCJ8SnDtBpbc+6YhwoxIw3BS HLQz/xuA+5mSakPAbaHoN6GxULMAer9zMKg+wYqkb+oelGPEt0bIaLvFYlcsRBUpc1Sr P0Lw== 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=lzrnUQqvOayAs4N+M1MQbV+LBcDmG9rPh5cucDDDLJA=; b=p/iL3M6ACSkhKNZzsjyPO/6ZtIMBo/bzl7cr9o1LcWR15cWcmlT7Ezc/7RFGCaDamS RN/QcMkfVwhmrVSDtGwwkQgy8RwhMHTqpu1xH9hw9wkLEyy2J1SU4Nf+gwipH7bRUeot CvNVJrwKjK7eXE0B1hyl6LNuAJnXrrC8LDT220I4z/u7y2VI4lqnC4oc3EpgZ3xUAIz1 j7Z2DhFsXMggZJyEgdRikgaV6q2fYGqEGi3R+cEipcF5bIYANxqO/Cx3m+PfpPYeolPc 78rWiFCWTTc+amSAfKU5kVUEZDDbCLl+NV6mhH5chBImX9VyPqUPs2HOVSVEzM4HsScU yPQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=agR1heyu; 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 74-20020a63024d000000b0047803fa2255si11145594pgc.521.2022.12.03.12.26.30; Sat, 03 Dec 2022 12:26:43 -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=agR1heyu; 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 S230134AbiLCUY4 (ORCPT <rfc822;lhua1029@gmail.com> + 99 others); Sat, 3 Dec 2022 15:24:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229959AbiLCUYZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 3 Dec 2022 15:24:25 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CDCA1EC68; Sat, 3 Dec 2022 12:23:38 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id w15so12943287wrl.9; Sat, 03 Dec 2022 12:23:38 -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=lzrnUQqvOayAs4N+M1MQbV+LBcDmG9rPh5cucDDDLJA=; b=agR1heyukmxnds6ACeqBYtBUJiYPHxR/fkhH05xSETYFd3RMZ/5Aa2ZtF+LdB5rU0r F1Ez3grG4r/6Sr9f4aWLMTip6s9SeTaqQaDwsoYFOWwXhcYaUE5rZK32BoGDypb0ABD0 T8MNy1gExbusO2x+2WziOef8BmR5fZ70NNRSpdxhbT+Omtw/AS9kLh1NuL1UYkUNXBWV gBk0Q2FaFEgB3OqJ7ClmdwmBUPBmVj54fkGCSZUHyrfDeDZ20UaWmhKIfXjgVGA/vgUF AcJ/rDPZIadZseBF0OkVdqbifstP5grhCga4Fl61K2AZ9dONg4I1l872pd2GtiKR8RPp CS6A== 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=lzrnUQqvOayAs4N+M1MQbV+LBcDmG9rPh5cucDDDLJA=; b=pejeyfG3WdmLZRF8xKM79mZBYjtkq7GfXgF47jRrCXoOpiAHXma+8tfurWZu2tcLs+ ayhVhw+hZNMtMcPjhs+1HtVCy1YC0Gcu1LR1o340RxGkMprNsDfo7F8/T3vgKTHgvjsl 4L+Fo70hJajdm7ojUScrA/s2C79VDHFMbTepb+k359WBc+SERyDJrllBVtggy4mx8ydC M3kiVw7eNfjtlKxFDTBY/L+FN0sHvqYhbYYAHVm4RYXVKe49YOfNUnuwGF9YeVxe4DOE wwAlzlII7bXdo+LPwJnAId91ccrbseIVWfoY8BqjwC/Z7Q5kxKhOS068u/KorCrk6ad1 Wf1w== X-Gm-Message-State: ANoB5pnRr/j8soCwhGiNajQJUTnLUXBpHaDhkA1KG4DNSx4nPoGNspWK M6DW+LJWNx4kFkEkOVhoUip5JZ/0Pe0= X-Received: by 2002:a05:6000:1084:b0:241:f866:6bc8 with SMTP id y4-20020a056000108400b00241f8666bc8mr28179702wrw.501.1670099016702; Sat, 03 Dec 2022 12:23:36 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Dec 2022 12:23:36 -0800 (PST) From: Alejandro Colomar <alx.manpages@gmail.com> X-Google-Original-From: Alejandro Colomar <alx@kernel.org> To: linux-man@vger.kernel.org Cc: Alejandro Colomar <alx@kernel.org>, libc-alpha@sourceware.org, linux-kernel@vger.kernel.org Subject: [PATCH 23/41] recv.2: SYNOPSIS: Add _Nullable Date: Sat, 3 Dec 2022 21:22:59 +0100 Message-Id: <20221203202317.252789-24-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 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751225941806418409?= X-GMAIL-MSGID: =?utf-8?q?1751225941806418409?= |
Series |
Document nullability of syscall parameters
|
|
Commit Message
Alejandro Colomar
Dec. 3, 2022, 8:22 p.m. UTC
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
man2/recv.2 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/man2/recv.2 b/man2/recv.2 index d492976c4..5298a2745 100644 --- a/man2/recv.2 +++ b/man2/recv.2 @@ -24,8 +24,8 @@ .SH SYNOPSIS .BI " int " flags ); .BI "ssize_t recvfrom(int " sockfd ", void " buf "[restrict ." len "], size_t " len , .BI " int " flags , -.BI " struct sockaddr *restrict " src_addr , -.BI " socklen_t *restrict " addrlen ); +.BI " struct sockaddr *_Nullable restrict " src_addr , +.BI " socklen_t *_Nullable restrict " addrlen ); .BI "ssize_t recvmsg(int " sockfd ", struct msghdr *" msg ", int " flags ); .fi .SH DESCRIPTION