projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6567db6
)
add UIO_MAXIOV macro in sys/uio.h
author
Rich Felker
<dalias@aerifal.cx>
Fri, 19 Jul 2013 23:57:52 +0000
(19:57 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 19 Jul 2013 23:57:52 +0000
(19:57 -0400)
while there's no POSIX namespace provision for UIO_* in uio.h, this
exact macro name is reserved in XBD 2.2.2. apparently some
glibc-centric software expects it to exist, so let's provide it.
include/sys/uio.h
patch
|
blob
|
history
diff --git
a/include/sys/uio.h
b/include/sys/uio.h
index 09b6ab9e007a8d895e840eccd058ee4c2934bc5e..00f73a2f0525b62d8298c36d6904c54bf6ffb9ff 100644
(file)
--- a/
include/sys/uio.h
+++ b/
include/sys/uio.h
@@
-21,6
+21,8
@@
extern "C" {
#include <bits/alltypes.h>
+#define UIO_MAXIOV 1024
+
ssize_t readv (int, const struct iovec *, int);
ssize_t writev (int, const struct iovec *, int);