Exemplo n.º 1
0
Arquivo: file.cs Projeto: zjmit/go2cs
 // FileConn returns a copy of the network connection corresponding to
 // the open file f.
 // It is the caller's responsibility to close f when finished.
 // Closing c does not affect f, and closing f does not affect c.
 public static (Conn, error) FileConn(ptr <os.File> _addr_f)
 {
     Conn        c   = default;
     error       err = default !;
Exemplo n.º 2
0
 private static (Conn, error) fileConn(ptr <os.File> _addr_f)
 {
     Conn        _p0 = default;
     error       _p0 = default !;