summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc/msgq.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-01-21 23:27:48 +0000
committerEric Andersen <andersen@codepoet.org>2004-01-21 23:27:48 +0000
commit6334e558ab33ee1e54ed33740881a2798c5915c2 (patch)
tree5d3253d5928343d2a37cc55be7a9c35244b4ab42 /libc/misc/sysvipc/msgq.c
parent9bafaa6fe7ded400aac87526ce615f1875ce2673 (diff)
Split up syscalls.c, since it had grown to be quite large and ugly.
-Erik
Diffstat (limited to 'libc/misc/sysvipc/msgq.c')
-rw-r--r--libc/misc/sysvipc/msgq.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/misc/sysvipc/msgq.c b/libc/misc/sysvipc/msgq.c
index ffd58df05..d4f48e7ad 100644
--- a/libc/misc/sysvipc/msgq.c
+++ b/libc/misc/sysvipc/msgq.c
@@ -11,7 +11,7 @@ _syscall3(int, msgctl, int, msqid, int, cmd, struct msqid_ds *, buf);
/* Message queue control operation. */
int msgctl (int msqid, int cmd, struct msqid_ds *buf)
{
- return __ipc(IPCOP_msgctl ,msqid ,cmd ,0 ,buf);
+ return __syscall_ipc(IPCOP_msgctl ,msqid ,cmd ,0 ,buf);
}
#endif
#endif
@@ -24,7 +24,7 @@ _syscall2(int, msgget, key_t, key, int, msgflg)
/* Get messages queue. */
int msgget (key_t key, int msgflg)
{
- return __ipc(IPCOP_msgget ,key ,msgflg ,0 ,0);
+ return __syscall_ipc(IPCOP_msgget ,key ,msgflg ,0 ,0);
}
#endif
#endif
@@ -32,7 +32,7 @@ int msgget (key_t key, int msgflg)
struct new_msg_buf{
struct msgbuf * oldmsg;
- long int r_msgtyp; /* the fifth arg of __ipc */
+ long int r_msgtyp; /* the fifth arg of __syscall_ipc */
};
/* Receive message from message queue. */
@@ -48,7 +48,7 @@ int msgrcv (int msqid, void *msgp, size_t msgsz,
temp.r_msgtyp = msgtyp;
temp.oldmsg = msgp;
- return __ipc(IPCOP_msgrcv ,msqid ,msgsz ,msgflg ,&temp);
+ return __syscall_ipc(IPCOP_msgrcv ,msqid ,msgsz ,msgflg ,&temp);
}
#endif
#endif
@@ -62,7 +62,7 @@ _syscall4(int, msgsnd, int, msqid, const void *, msgp, size_t, msgsz, int, msgfl
/* Send message to message queue. */
int msgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg)
{
- return __ipc(IPCOP_msgsnd, msqid, msgsz, msgflg, (void *)msgp);
+ return __syscall_ipc(IPCOP_msgsnd, msqid, msgsz, msgflg, (void *)msgp);
}
#endif
#endif