Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fdToPath (0.06 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	res := make([]byte, len(b))
    	copy(res, b)
    	E2a(res)
    	if trimRight {
    		str = string(bytes.TrimRight(res, " \x00"))
    	} else {
    		str = string(res)
    	}
    	return
    }
    
    func fdToPath(dirfd int) (path string, err error) {
    	var buffer [1024]byte
    	// w_ctrl()
    	ret := runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS_W_IOCTL<<4,
    		[]uintptr{uintptr(dirfd), 17, 1024, uintptr(unsafe.Pointer(&buffer[0]))})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top