* Adding msg{rcv,snd,get,ctl} syscalls to the system
* Add message queue init function call to main.cpp git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27417 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
extern void xsi_msg_init();
|
||||
|
||||
/* user calls */
|
||||
int _user_xsi_msgctl(int messageQueueID, int command, struct msqid_ds *buffer);
|
||||
int _user_xsi_msgget(key_t key, int messageQueueFlags);
|
||||
|
||||
@@ -24,6 +24,7 @@ struct fd_info;
|
||||
struct fd_set;
|
||||
struct fs_info;
|
||||
struct iovec;
|
||||
struct msqid_ds;
|
||||
struct net_stat;
|
||||
struct pollfd;
|
||||
struct rlimit;
|
||||
@@ -101,6 +102,16 @@ extern int _kern_xsi_semctl(int semID, int semNumber, int command,
|
||||
extern status_t _kern_xsi_semop(int semID, struct sembuf *semOps,
|
||||
size_t numSemOps);
|
||||
|
||||
/* POSIX XSI message queue syscalls */
|
||||
extern int _kern_xsi_msgctl(int messageQueueID, int command,
|
||||
struct msqid_ds *buffer);
|
||||
extern int _kern_xsi_msgget(key_t key, int messageQueueFlags);
|
||||
extern ssize_t _kern_xsi_msgrcv(int messageQueueID, void *messagePointer,
|
||||
size_t messageSize, long messageType, int messageFlags);
|
||||
extern int _kern_xsi_msgsnd(int messageQueueID,
|
||||
const void *messagePointer, size_t messageSize,
|
||||
int messageFlags);
|
||||
|
||||
/* team & thread syscalls */
|
||||
extern thread_id _kern_load_image(const char* const* flatArgs,
|
||||
size_t flatArgsSize, int32 argCount, int32 envCount,
|
||||
|
||||
Reference in New Issue
Block a user