OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgo/] [go/] [net/] [file_plan9.go] - Blame information for rev 747

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 747 jeremybenn
// 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.
4
 
5
package net
6
 
7
import (
8
        "os"
9
)
10
 
11
// FileConn returns a copy of the network connection corresponding to
12
// the open file f.  It is the caller's responsibility to close f when
13
// finished.  Closing c does not affect f, and closing f does not
14
// affect c.
15
func FileConn(f *os.File) (c Conn, err error) {
16
        return nil, os.EPLAN9
17
}
18
 
19
// FileListener returns a copy of the network listener corresponding
20
// to the open file f.  It is the caller's responsibility to close l
21
// when finished.  Closing c does not affect l, and closing l does not
22
// affect c.
23
func FileListener(f *os.File) (l Listener, err error) {
24
        return nil, os.EPLAN9
25
}
26
 
27
// FilePacketConn returns a copy of the packet network connection
28
// corresponding to the open file f.  It is the caller's
29
// responsibility to close f when finished.  Closing c does not affect
30
// f, and closing f does not affect c.
31
func FilePacketConn(f *os.File) (c PacketConn, err error) {
32
        return nil, os.EPLAN9
33
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.