mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
[BZ #5607]
2008-01-16 Ulrich Drepper <drepper@redhat.com> [BZ #5607] * conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate prototypes. * conform/data/limits.h-data: Adjust limits changed in v6 and add additional suffixes. * conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry. Add optional functions mq_timedreceive and mq_timedsend. * conform/data/netdb.h-data: Add more AI_* and EAI_* constants. * conform/data/pthread.h-data: Fix prototype of pthread_condattr_setclock. pthread_sigmask is not required in v6. * conform/data/semaphore.h-data: Allow time.h definitions. * conform/data/signal.h-data: Likewise. * conform/data/stdio.h-data: getw and putw are not required in v6. * conform/data/stdlib.h-data: Change setstate prototype. * conform/data/string.h-data: Fix strerror_r prototype. * conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition. * conform/data/unistd.h-data: pthread_atfork not required in v6. Fix readlink prototype. * conform/data/netinet/in.h-data: Add const to in6addr_any and in6addr_loopback. * inet/netinet/in.h: Cleanup namespace. * posix/regex.h: Likewise. * resolv/netdb.h: Likewise. * sysdeps/unix/sysv/linux/bits/in.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
This commit is contained in:
@@ -8,7 +8,7 @@ type {struct mq_attr}
|
||||
element {struct mq_attr} long mq_flags
|
||||
element {struct mq_attr} long mq_maxmsg
|
||||
element {struct mq_attr} long mq_msgsize
|
||||
element {struct mq_attr} long mq_curmsg
|
||||
element {struct mq_attr} long mq_curmsgs
|
||||
|
||||
function int mq_close (mqd_t)
|
||||
function int mq_getattr (mqd_t, struct mq_attr*)
|
||||
@@ -18,6 +18,10 @@ function ssize_t mq_receive (mqd_t, char*, size_t, unsigned int*)
|
||||
function int mq_send (mqd_t, const char*, size_t, unsigned int)
|
||||
function int mq_setattr (mqd_t, const struct mq_attr*, struct mq_attr*)
|
||||
function int mq_unlink (const char*)
|
||||
#ifdef XOPEN2K
|
||||
optional-function ssize_t mq_timedreceive (mqd_t, char*, size_t, unsigned int*, const struct timespec*)
|
||||
optional-function int mq_timedsend (mqd_t, const char*, size_t, unsigned int, const struct timespec*)
|
||||
#endif
|
||||
|
||||
allow-header fcntl.h
|
||||
allow-header signal.h
|
||||
|
Reference in New Issue
Block a user