Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2025 22:25:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 284353] [patch] Remind about additional mode_t argument for open(2).
Message-ID:  <bug-284353-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284353

            Bug ID: 284353
           Summary: [patch] Remind about additional mode_t argument for
                    open(2).
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: artembunichev@zohomail.com
                CC: doc@FreeBSD.org

Created attachment 256995
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256995&action=
=3Dedit
Patch for open(2) manual.

It's quite easy to forget about additional argument mode_t mode for open(2),
when the O_CREAT flag is specified. This argument itself is not in the
synopsis, so when referencing the manual page just to recall flag names, it=
's
not that easy to spot it.

I think that a small reminder about it in the description for O_CREAT flag =
will
be good.

A patch that adds it is attached.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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