diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/alloca.h | 7 | ||||
-rw-r--r-- | include/signal.h | 3 | ||||
-rw-r--r-- | include/sys/msg.h | 8 | ||||
-rw-r--r-- | include/sys/uio.h | 4 | ||||
-rw-r--r-- | include/sys/wait.h | 1 |
5 files changed, 23 insertions, 0 deletions
diff --git a/include/alloca.h b/include/alloca.h index 3a480f8e24..9536fe0f1f 100644 --- a/include/alloca.h +++ b/include/alloca.h @@ -11,4 +11,11 @@ extern void *__alloca (size_t __size); # define __alloca(size) __builtin_alloca (size) #endif /* GCC. */ +extern int __libc_use_alloca (size_t size) __attribute__ ((const)); +extern int __libc_alloca_cutoff (size_t size) __attribute__ ((const)); + +#define __MAX_ALLOCA_CUTOFF 65536 + +#include <allocalim.h> + #endif diff --git a/include/signal.h b/include/signal.h index 4196a6f012..3d599ef19a 100644 --- a/include/signal.h +++ b/include/signal.h @@ -22,9 +22,12 @@ extern int __sigprocmask (int __how, extern int __sigsuspend (__const sigset_t *__set); libc_hidden_proto (__sigsuspend) extern int __sigwait (__const sigset_t *__set, int *__sig); +libc_hidden_proto (__sigwait) extern int __sigwaitinfo (__const sigset_t *__set, siginfo_t *__info); +libc_hidden_proto (__sigwaitinfo) extern int __sigtimedwait (__const sigset_t *__set, siginfo_t *__info, __const struct timespec *__timeout); +libc_hidden_proto (__sigtimedwait) extern int __sigqueue (__pid_t __pid, int __sig, __const union sigval __val); extern int __sigvec (int __sig, __const struct sigvec *__vec, 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); |