Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newUnixFile (0.13 sec)

  1. src/os/file_unix.go

    // the Fd method has returned a blocking descriptor, and we want to
    // retain that behavior because existing code expects it and depends on it.
    //
    //go:linkname net_newUnixFile net.newUnixFile
    func net_newUnixFile(fd int, name string) *File {
    	if fd < 0 {
    		panic("invalid FD")
    	}
    
    	return newFile(fd, name, kindSock, true)
    }
    
    // newFileKind describes the kind of file to newFile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top