about summary refs log tree commit diff
path: root/library/std/src/alloc.rs
diff options
context:
space:
mode:
authorAdam Reichold <adam.reichold@t-online.de>2020-08-01 14:18:11 +0200
committerAdam Reichold <adam.reichold@t-online.de>2020-08-05 16:57:02 +0200
commit94687525815cb2138779e17a766e24c826819d7c (patch)
treeb946ffc716e0a90a3122da17b5ece437b070fe20 /library/std/src/alloc.rs
parent8b84156c6ee2b4e707dc32f5a516e3143ab924d3 (diff)
downloadrust-94687525815cb2138779e17a766e24c826819d7c.tar.gz
rust-94687525815cb2138779e17a766e24c826819d7c.zip
Query maximum vector count on Linux and macOS
Both Linux and MacOS enforce limits on the vector count when performing vectored
I/O via the readv and writev system calls and return EINVAL when these limits
are exceeded. This changes the standard library to handle those limits as short
reads and writes to avoid forcing its users to query these limits using
platform specific mechanisms.
Diffstat (limited to 'library/std/src/alloc.rs')
0 files changed, 0 insertions, 0 deletions