aboutsummaryrefslogtreecommitdiff
path: root/include/sys/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/msg.h')
-rw-r--r--include/sys/msg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/msg.h b/include/sys/msg.h
index 02bb9ae..03e17f9 100644
--- a/include/sys/msg.h
+++ b/include/sys/msg.h
@@ -1,8 +1,8 @@
#ifndef _SYS_MSG_H
#include <sysvipc/sys/msg.h>
-extern int __libc_msgrcv (int msqid, void *msgp, size_t msgsz, long int msgtyp,
- int msgflg);
+extern ssize_t __libc_msgrcv (int msqid, void *msgp, size_t msgsz,
+ long int msgtyp, int msgflg);
extern int __libc_msgsnd (int msqid, const void *msgp, size_t msgsz,
int msgflg);