source: azure_iot_hub/trunk/musl-1.1.18/include/mqueue.h@ 388

Last change on this file since 388 was 388, checked in by coas-nagasima, 5 years ago

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 978 bytes
Line 
1#ifndef _MQUEUE_H
2#define _MQUEUE_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7#include <features.h>
8
9#define __NEED_size_t
10#define __NEED_ssize_t
11#define __NEED_pthread_attr_t
12#define __NEED_time_t
13#define __NEED_struct_timespec
14#include <bits/alltypes.h>
15
16typedef int mqd_t;
17struct mq_attr {
18 long mq_flags, mq_maxmsg, mq_msgsize, mq_curmsgs, __unused[4];
19};
20struct sigevent;
21
22int mq_close(mqd_t);
23int mq_getattr(mqd_t, struct mq_attr *);
24int mq_notify(mqd_t, const struct sigevent *);
25mqd_t mq_open(const char *, int, ...);
26ssize_t mq_receive(mqd_t, char *, size_t, unsigned *);
27int mq_send(mqd_t, const char *, size_t, unsigned);
28int mq_setattr(mqd_t, const struct mq_attr *__restrict, struct mq_attr *__restrict);
29ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, unsigned *__restrict, const struct timespec *__restrict);
30int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *);
31int mq_unlink(const char *);
32
33#ifdef __cplusplus
34}
35#endif
36#endif
Note: See TracBrowser for help on using the repository browser.