看板 DFBSD_bugs 關於我們 聯絡資訊
New submission from Venkatesh Srinivas <vsrinivas@dragonflybsd.org>: Hi, Using the short form of mq_open(), (omitting the mode and mq attribute structure) always returns EINVAL. The long form works fine. DOESNT WORK ================ #include <sys/types.h> #include <mqueue.h> main() { int i; mq_open("naem", O_RDWR|O_CREAT|O_EXCL); pause(); } WORKS ====================== #include <sys/types.h> #include <mqueue.h> main() { int i; mq_open("nam", O_RDWR|O_CREAT|O_EXCL, 0777, NULL); pause(); } ---------- messages: 9668 nosy: vsrinivas status: unread title: POSIX message queue mq_open short form always EINVALs _____________________________________________________ DragonFly issue tracker <bugs@lists.dragonflybsd.org> <http://bugs.dragonflybsd.org/issue2010> _____________________________________________________