Skip to content

Commit 09022eb

Browse files
committed
options/posix: Add struct msginfo
1 parent d1b55f7 commit 09022eb

File tree

1 file changed

+15
-0
lines changed
  • options/posix/include/sys

1 file changed

+15
-0
lines changed

options/posix/include/sys/msg.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef _SYS_MSG_H
22
#define _SYS_MSG_H
33

4+
#include <mlibc-config.h>
5+
46
#include <abi-bits/msg.h>
57
#include <bits/size_t.h>
68
#include <bits/ssize_t.h>
@@ -9,6 +11,19 @@
911
extern "C" {
1012
#endif
1113

14+
#if defined(_DEFAULT_SOURCE)
15+
struct msginfo {
16+
int msgpool;
17+
int msgmap;
18+
int msgmax;
19+
int msgmnb;
20+
int msgmni;
21+
int msgssz;
22+
int msgtql;
23+
unsigned short int msgseg;
24+
};
25+
#endif /* defined(_DEFAULT_SOURCE) */
26+
1227
#ifndef __MLIBC_ABI_ONLY
1328

1429
int msgget(key_t __key, int __msgflg);

0 commit comments

Comments
 (0)