Commit Graph
2 Commits
Author SHA1 Message Date
Ian Lance Taylor 99666ae32e unix: merge Linux readv/writev implementation with Darwin/OpenBSD
This reduces some code duplication.

Change-Id: Ib648f90a26960d0bc25d2fe27e9b3fb1419ac02d
Reviewed-on: https://go-review.googlesource.com/c/sys/+/777161
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
2026-05-18 07:51:52 -07:00
Aaqa Ishtyaq 04396e85d4 unix: add Readv, Writev, Preadv, Pwritev for OpenBSD
Add OpenBSD libc syscall wrappers for vectored I/O, and share the
existing Darwin wrapper implementation and tests.

Fixes golang/go#78049

Change-Id: Ie2743ef36a5cb73b05cc551c9c1108503f5992b6
Reviewed-on: https://go-review.googlesource.com/c/sys/+/771300
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2026-05-12 12:53:07 -07:00