libgo: update to Go 1.11
[official-gcc.git] / libgo / go / net / file_stub.go
blob22566083658a85e2d199f897afe486519ab87674
1 // Copyright 2011 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.
5 // +build nacl js,wasm
7 package net
9 import (
10 "os"
11 "syscall"
14 func fileConn(f *os.File) (Conn, error) { return nil, syscall.ENOPROTOOPT }
15 func fileListener(f *os.File) (Listener, error) { return nil, syscall.ENOPROTOOPT }
16 func filePacketConn(f *os.File) (PacketConn, error) { return nil, syscall.ENOPROTOOPT }