msghdr_stub.go 599 B

1234567891011121314
  1. // Copyright 2017 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
  5. package socket
  6. type msghdr struct{}
  7. func (h *msghdr) pack(vs []iovec, bs [][]byte, oob []byte, sa []byte) {}
  8. func (h *msghdr) name() []byte { return nil }
  9. func (h *msghdr) controllen() int { return 0 }
  10. func (h *msghdr) flags() int { return 0 }