Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2022 02:52:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 268310] add sizeof(7) man page
Message-ID:  <bug-268310-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268310-9>