go/src/net/fd_unix.go

const readSyscallName

const readFromSyscallName

const readMsgSyscallName

const writeSyscallName

const writeToSyscallName

const writeMsgSyscallName

func newFD(sysfd, family, sotype int, net string) (*netFD, error) {}

func (fd *netFD) init() error {}

func (fd *netFD) name() string {}

func (fd *netFD) connect(ctx context.Context, la, ra syscall.Sockaddr) (rsa syscall.Sockaddr, ret error) {}

func (fd *netFD) accept() (netfd *netFD, err error) {}

// Defined in os package.
func newUnixFile(fd int, name string) *os.File

func (fd *netFD) dup() (f *os.File, err error) {}