diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-07-19 19:57:52 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-07-19 19:57:52 -0400 |
commit | 41e2fd9d529b00b8532e7170e3cdae0d5d6c6424 (patch) | |
tree | 4bd0a2d635cedb05b8a61335e6fce88bf9911a19 | |
parent | 6567db65f495cf7c11f5c1e60a3e54543d5a69bc (diff) | |
download | musl-41e2fd9d529b00b8532e7170e3cdae0d5d6c6424.tar.gz musl-41e2fd9d529b00b8532e7170e3cdae0d5d6c6424.tar.xz musl-41e2fd9d529b00b8532e7170e3cdae0d5d6c6424.zip |
add UIO_MAXIOV macro in sys/uio.h
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.
-rw-r--r-- | include/sys/uio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/uio.h b/include/sys/uio.h index 09b6ab9e..00f73a2f 100644 --- 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); |