1 // Copyright 2009 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.
13 func (c
*UnixConn
) readFrom(b
[]byte) (int, *UnixAddr
, error
) {
14 return 0, nil, syscall
.EPLAN9
17 func (c
*UnixConn
) readMsg(b
, oob
[]byte) (n
, oobn
, flags
int, addr
*UnixAddr
, err error
) {
18 return 0, 0, 0, nil, syscall
.EPLAN9
21 func (c
*UnixConn
) writeTo(b
[]byte, addr
*UnixAddr
) (int, error
) {
22 return 0, syscall
.EPLAN9
25 func (c
*UnixConn
) writeMsg(b
, oob
[]byte, addr
*UnixAddr
) (n
, oobn
int, err error
) {
26 return 0, 0, syscall
.EPLAN9
29 func dialUnix(ctx context
.Context
, network
string, laddr
, raddr
*UnixAddr
) (*UnixConn
, error
) {
30 return nil, syscall
.EPLAN9
33 func (ln
*UnixListener
) accept() (*UnixConn
, error
) {
34 return nil, syscall
.EPLAN9
37 func (ln
*UnixListener
) close() error
{
41 func (ln
*UnixListener
) file() (*os
.File
, error
) {
42 return nil, syscall
.EPLAN9
45 func listenUnix(ctx context
.Context
, network
string, laddr
*UnixAddr
) (*UnixListener
, error
) {
46 return nil, syscall
.EPLAN9
49 func listenUnixgram(ctx context
.Context
, network
string, laddr
*UnixAddr
) (*UnixConn
, error
) {
50 return nil, syscall
.EPLAN9