about summary refs log tree commit diff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/msg.h8
-rw-r--r--include/sys/uio.h4
-rw-r--r--include/sys/wait.h1
3 files changed, 13 insertions, 0 deletions
diff --git a/include/sys/msg.h b/include/sys/msg.h
index 0f8026dda1..02bb9aefd0 100644
--- a/include/sys/msg.h
+++ b/include/sys/msg.h
@@ -1 +1,9 @@
+#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 int __libc_msgsnd (int msqid, const void *msgp, size_t msgsz,
+			  int msgflg);
+
+#endif
diff --git a/include/sys/uio.h b/include/sys/uio.h
index 09bdce2b22..8c2b0167c1 100644
--- a/include/sys/uio.h
+++ b/include/sys/uio.h
@@ -4,6 +4,10 @@
 /* Now define the internal interfaces.  */
 extern ssize_t __readv (int __fd, __const struct iovec *__vector,
 			int __count);
+extern ssize_t __libc_readv (int __fd, __const struct iovec *__vector,
+			     int __count);
 extern ssize_t __writev (int __fd, __const struct iovec *__vector,
 			 int __count);
+extern ssize_t __libc_writev (int __fd, __const struct iovec *__vector,
+			      int __count);
 #endif
diff --git a/include/sys/wait.h b/include/sys/wait.h
index d1560b2b24..f1eceb1cf0 100644
--- a/include/sys/wait.h
+++ b/include/sys/wait.h
@@ -5,6 +5,7 @@
 extern __pid_t __waitpid (__pid_t __pid, int *__stat_loc,
 			  int __options);
 libc_hidden_proto (__waitpid)
+extern int __waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options);
 
 extern __pid_t __libc_waitpid (pid_t __pid, int *__stat_loc, int __options);
 extern __pid_t __libc_wait (int *__stat_loc);