aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/posix/include/sys/msg.h
blob: d602f7644454cc95cb9196c8c43e2ac9f82db6f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _SYS_MSG_H
#define _SYS_MSG_H

#include <abi-bits/msg.h>
#include <bits/size_t.h>
#include <bits/ssize_t.h>

#ifdef __cplusplus
extern "C" {
#endif

#ifndef __MLIBC_ABI_ONLY

int msgget(key_t, int);

int msgctl(int msqid, int cmd, struct msqid_ds *buf);

ssize_t msgrcv(int, void *, size_t, long, int);
int msgsnd(int, const void *, size_t, int);

#endif /* !__MLIBC_ABI_ONLY */

#ifdef __cplusplus
}
#endif

#endif // _SYS_MSG_H