// Copyright 2009 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windowspackage pollimport// SetsockoptInt wraps the setsockopt network call with an int argument.func ( *FD) (, , int) error {if := .incref(); != nil {return }defer .decref()returnsyscall.SetsockoptInt(.Sysfd, , , )}// SetsockoptInet4Addr wraps the setsockopt network call with an IPv4 address.func ( *FD) (, int, [4]byte) error {if := .incref(); != nil {return }defer .decref()returnsyscall.SetsockoptInet4Addr(.Sysfd, , , )}// SetsockoptLinger wraps the setsockopt network call with a Linger argument.func ( *FD) (, int, *syscall.Linger) error {if := .incref(); != nil {return }defer .decref()returnsyscall.SetsockoptLinger(.Sysfd, , , )}