[Bug 243209] man page for mq_open fails to specify all conditions that may cause an [EINVAL] error

[email protected]
Newsgroups gmane.os.freebsd.devel.documentation
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243209

--- Comment #5 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3e9f4fd6fc50300d052d5619d82a14d3488483d5

commit 3e9f4fd6fc50300d052d5619d82a14d3488483d5
Author:     Kit Dallege <[email protected]>
AuthorDate: 2026-04-02 17:37:49 +0000
Commit:     Mitchell Horne <[email protected]>
CommitDate: 2026-04-02 22:48:52 +0000

    mq_open(2): document sysctl limit EINVAL and ENFILE conditions

    Document two missing error conditions for mq_open(2):

    - EINVAL: returned when mq_maxmsg exceeds kern.mqueue.maxmsg or
      mq_msgsize exceeds kern.mqueue.maxmsgsize.
    - ENFILE: add kern.mqueue.maxmq sysctl name to the existing entry.

    PR:             243209
    Reviewed by:    mhorne
    MFC after:      1 week
    Signed-off-by:  Kit Dallege <[email protected]>
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/2098

 lib/libsys/mq_open.2 | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.