Home
last modified time | relevance | path

Searched refs:mqd_t (Results 1 – 10 of 10) sorted by relevance

/freebsd/include/
H A Dmqueue.h39 int mq_close(mqd_t);
40 int mq_getattr(mqd_t, struct mq_attr *);
41 int mq_notify(mqd_t, const struct sigevent *);
42 mqd_t mq_open(const char *, int, ...);
43 ssize_t mq_receive(mqd_t, char *, size_t, unsigned *);
44 int mq_send(mqd_t, const char *, size_t, unsigned);
45 int mq_setattr(mqd_t, const struct mq_attr *__restrict,
47 ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t,
49 int mq_timedsend(mqd_t, const char *, size_t, unsigned,
53 int mq_getfd_np(mqd_t mqd);
/freebsd/lib/librt/
H A Dmq.c69 mqd_t
88 return ((mqd_t)-1L); in __mq_open()
92 __mq_close(mqd_t mqd) in __mq_open()
122 __mq_notify(mqd_t mqd, const struct sigevent *evp) in mq_dispatch()
166 __mq_getattr(mqd_t mqd, struct mq_attr *attr) in __mq_notify()
173 __mq_setattr(mqd_t mqd, const struct mq_attr *newattr, struct mq_attr *oldattr) in __mq_notify()
180 __mq_timedreceive(mqd_t mqd, char *buf, size_t len, in __mq_getattr()
188 __mq_timedreceive_cancel(mqd_t mqd, char *buf, size_t len, in __mq_setattr()
200 __mq_receive(mqd_t mqd, char *buf, size_t len, unsigned *prio) in __mq_timedreceive_cancel()
207 __mq_receive_cancel(mqd_t mq in __mq_timedreceive_cancel()
[all...]
/freebsd/contrib/netbsd-tests/kernel/
H A Dt_mqueue.c27 send_msgs(mqd_t mqfd) in send_msgs()
59 receive_msgs(mqd_t mqfd) in receive_msgs()
132 mqd_t mqfd; in ATF_TC_BODY()
137 ATF_REQUIRE_MSG(mqfd != (mqd_t)-1, "mq_open failed: %d", errno); in ATF_TC_BODY()
/freebsd/tests/sys/mqueue/
H A Dmqtest2.c29 mqd_t mq; in main()
40 if (mq == (mqd_t)-1) in main()
56 if (mq == (mqd_t)-1) in main()
H A Dmqtest3.c32 mqd_t mq; in main()
42 if (mq == (mqd_t)-1) in main()
59 if (mq == (mqd_t)-1) in main()
H A Dmqtest4.c32 mqd_t mq; in main()
43 if (mq == (mqd_t) -1) in main()
57 if (mq == (mqd_t)-1) in main()
H A Dmqtest5.c35 mqd_t mq; in main()
53 if (mq == (mqd_t)-1) in main()
72 if (mq == (mqd_t)-1) in main()
H A Dmqtest1.c18 mqd_t mq; in main()
26 if (mq == (mqd_t)-1) in main()
/freebsd/usr.bin/posixmqcontrol/
H A Dposixmqcontrol.c100 static const mqd_t fail = (mqd_t)-1;
440 mqd_t handle = mq_open(queue, flags); in create()
560 mqd_t handle = mq_open(queue, O_RDONLY); in info()
617 mqd_t handle = mq_open(queue, O_RDONLY); in recv()
663 mqd_t handle = mq_open(queue, O_WRONLY); in send()
/freebsd/sys/sys/
H A Dtypes.h223 typedef __mqd_t mqd_t; typedef