From nobody Sun Dec 11 02:52:03 2022 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NV8Rm1DmXz4kF8w for ; Sun, 11 Dec 2022 02:52:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NV8Rl5zNFz3Ggg for ; Sun, 11 Dec 2022 02:52:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670727123; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qnB05B6qBFmE+8ZtHV/f/J7bdWR4o30G57D1b/QV4Wg=; b=MlqyIBK/BAW+1JvjOg04x9DIEtC2REzxh1IfBJnTKOkS/feMkQR15DcXRPtZFYUKPD9EAe Aung3IPKCTdg9ZeYNLgj1feuhX9UNPbzY3mzYwpW6iW7exvrjMHQ5crCXo+zprIyF99ko+ laXJIFw309i6ySLYvK4+NXwfwSz1DzvSdrQv3al43qdD8IFjmLeoRB58HbITp4X3Bqgo6B YgvVVV4LH/LBlGTva9PLObWErj0AFOPTQ3PjeFk6aohKkdI0Kx3b8xNesbUVumObh3zVgj /gevgJ3yDdBXA3R/hZ8aYAIzj6be3vdKwnuX9OAhvgOI4sCCpI1m9jZ7B3eVmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670727123; a=rsa-sha256; cv=none; b=CGblSyTJnD+EGG1m/WI7+7TrZt4Vs+yvadfsrLoctRMgU+iTD2MaeihYjfYNrxuYUskdIX 6lS6WDlxpYhiIg3+Nn4kTy/754Epi1v9c6wLzjp4noQm3Py9id046aVp98oLrWwLms7VbM CcJUWjonx47zzlOhXkEmYufD9FTWa/2IaWU3f/e4TzuUYey6rtLbGCzbCnmDKf0N8meJxa 1NBGzvP9EjDx4NVj3+3jxzrm7oGYjdunxjorGZSZGRdy9C+pfsgzU0anEspe+JjF3ve93r HeRO2NfKkkButFP1LaguyTXVBaJ2HLGRnytFBzRzmzEdHZ+pzByBdRD6/Wy6oQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NV8Rl53jDzfDH for ; Sun, 11 Dec 2022 02:52:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BB2q3S6052760 for ; Sun, 11 Dec 2022 02:52:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BB2q3p3052759 for doc@FreeBSD.org; Sun, 11 Dec 2022 02:52:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 268310] add sizeof(7) man page Date: Sun, 11 Dec 2022 02:52:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jschauma@netmeister.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.mimetype attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268310 Bug ID: 268310 Summary: add sizeof(7) man page Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: jschauma@netmeister.org CC: doc@FreeBSD.org Attachment #238705 text/plain mime type: Created attachment 238705 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238705&action= =3Dedit sizeof manual page As an operator rather than a library function or syscall, 'sizeof' does not have a manual page. Its use is however not always completely obvious and especially novice programmers misunderstand its function. Being able to ty= pe 'man sizeof' to get an explanation is a lot more convenient than having to = rely on Google->StackOverflow and hoping whatever answers one finds there is reasonable. I wrote a manual page for the 'sizeof' operator: https://github.com/jschauma/manpages/blob/main/man7/sizeof.7 (I've attached a copy of the manual page here to the bug as well.) If the FreeBSD Project sees value in this and would like to add this manual page to the base system, I'd be happy to sign over the copyright. Note: my mandoc-fu is weak, and fixes and improvements may well be necessar= y. --=20 You are receiving this mail because: You are on the CC list for the bug.=