Files
systemd/src/test
Daan De Meyer 8b9fb1bbec io-util: add pwritev_full() and pwrite_full()
loop_write() writes one buffer at the file position. To write at an
offset, callers call pwrite() or pwritev() directly and handle short
writes themselves.

Add pwritev_full(), which writes all iovecs at an offset, retries on
EINTR and short writes, splits batches larger than IOV_MAX, and reports
the number of bytes written, also on failure. Add pwrite_full(), which
does the same for one buffer.

(cherry picked from commit 4d36be491a568180dc6336b91b0c496bb8cb6601)
2026-10-16 17:24:51 +01:00
..
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2026-06-05 04:42:14 +09:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2026-01-05 21:29:52 +09:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2026-07-15 12:12:40 +02:00
2025-04-30 09:30:51 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-09-24 15:45:28 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2026-06-17 13:11:15 +01:00
2026-04-11 14:58:34 +02:00
2025-05-21 10:49:42 +02:00
2025-04-30 09:30:51 +02:00
2026-02-19 15:08:20 +01:00
2024-04-15 08:13:50 +02:00
2025-07-26 05:00:02 +09:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2026-08-13 13:21:28 -05:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2026-07-13 15:39:17 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00