Bug 243099 - man page for mq_open() should suggest inclusion of <fcntl.h>
Summary: man page for mq_open() should suggest inclusion of <fcntl.h>
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-04 23:45 UTC by Ronald F. Guilmette
Modified: 2020-01-04 23:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald F. Guilmette 2020-01-04 23:45:11 UTC
Users of the standard library mq_open() function will likely need to make use of one or more of the O_* macros mentioned in the relevant man page, e.g. O_CREAT.

Unfortunately, the man page for mq_open() only suggest inclusion of the <mqueue.h> system-supplied header file.  It should also suggest inclusion of <fcntl.h> which is needed in order to also drag in the various O_* macro definitions.