zrepl/rpc/dataconn/timeoutconn/timeoutconn_readv_unsupported.go

13 lines
306 B
Go

//go:build illumos || solaris
// +build illumos solaris
package timeoutconn
import "net"
func (c *Conn) readv(buffers net.Buffers) (n int64, err error) {
// Go does not expose the SYS_READV symbol for Solaris / Illumos - do they have it?
// Anyhow, use the fallback
return c.readvFallback(buffers)
}