mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 16:47:27 -04:00
unix: implement recvmsgRaw and sendmsgN on aix
This allows using RecvmsgBuffers and SendmsgBuffers on aix in x/net. For golang/go#54099 Change-Id: Ib21c59244c9d74b826f4fc8ba3314e3602fd9a8a Reviewed-on: https://go-review.googlesource.com/c/sys/+/419396 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
committed by
Gopher Robot
parent
e65921a090
commit
3c1f35247d
@@ -957,10 +957,6 @@ func TestSend(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestSendmsgBuffers(t *testing.T) {
|
||||
if runtime.GOOS == "aix" {
|
||||
t.Skipf("SendmsgBuffers not supported on %s", runtime.GOOS)
|
||||
}
|
||||
|
||||
fds, err := unix.Socketpair(unix.AF_LOCAL, unix.SOCK_STREAM, 0)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user