7 Commits

Author SHA1 Message Date
Rich Felker
400c5e5c83 use restrict everywhere it's required by c99 and/or posix 2008
to deal with the fact that the public headers may be used with pre-c99
compilers, __restrict is used in place of restrict, and defined
appropriately for any supported compiler. we also avoid the form
[restrict] since older versions of gcc rejected it due to a bug in the
original c99 standard, and instead use the form *restrict.
2012-09-06 22:44:55 -04:00
Rich Felker
8b71121910 fix longstanding missing static in mq_notify (namespace pollution) 2012-04-29 00:20:53 -04:00
Rich Felker
4d95a58524 const correctness in mq_notify
why did gcc allow this invalid assignment to compile in the first place?
2011-06-25 09:23:36 -04:00
Rich Felker
e1d2a8e239 mq names without leading / have impl-def behavior; allowing them is easier 2011-06-07 15:07:54 -04:00
Rich Felker
86f8c72bb1 mq send/recv functions are cancellation points 2011-06-07 11:14:39 -04:00
Rich Felker
ede353d8e5 implement mq_notify 2011-06-07 02:42:55 -04:00
Rich Felker
ab11386aaa add support for POSIX message queues, except mq_notify 2011-06-07 01:52:27 -04:00