Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ioctlRet (0.19 sec)

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

    	return uint32(__minor(NEWDEV, dev))
    }
    
    /*
     * Expose the ioctl function
     */
    
    //sys	ioctlRet(fd int, req int, arg uintptr) (ret int, err error) = libc.ioctl
    //sys	ioctlPtrRet(fd int, req int, arg unsafe.Pointer) (ret int, err error) = libc.ioctl
    
    func ioctl(fd int, req int, arg uintptr) (err error) {
    	_, err = ioctlRet(fd, req, arg)
    	return err
    }
    
    func ioctlPtr(fd int, req int, arg unsafe.Pointer) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go

    	r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__minor)), 2, uintptr(version), uintptr(dev), 0, 0, 0, 0)
    	val = uint(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ioctlRet(fd int, req int, arg uintptr) (ret int, err error) {
    	r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0)
    	ret = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59.7K bytes
    - Viewed (0)
Back to top