Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IoctlRetInt (0.12 sec)

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

    }
    
    // IoctlGetInt performs an ioctl operation which gets an integer value
    // from fd, using the specified request number.
    //
    // A few ioctl requests use the return value as an output parameter;
    // for those, IoctlRetInt should be used instead of this function.
    func IoctlGetInt(fd int, req int) (int, error) {
    	var value int
    	err := ioctlPtr(fd, req, unsafe.Pointer(&value))
    	return value, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ioctl_linux.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    import "unsafe"
    
    // IoctlRetInt performs an ioctl operation specified by req on a device
    // associated with opened file descriptor fd, and returns a non-negative
    // integer that is returned by the ioctl syscall.
    func IoctlRetInt(fd int, req uint) (int, error) {
    	ret, _, err := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), 0)
    	if err != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ioctl_signed.go

    }
    
    // IoctlGetInt performs an ioctl operation which gets an integer value
    // from fd, using the specified request number.
    //
    // A few ioctl requests use the return value as an output parameter;
    // for those, IoctlRetInt should be used instead of this function.
    func IoctlGetInt(fd int, req int) (int, error) {
    	var value int
    	err := ioctlPtr(fd, req, unsafe.Pointer(&value))
    	return value, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ioctl_unsigned.go

    }
    
    // IoctlGetInt performs an ioctl operation which gets an integer value
    // from fd, using the specified request number.
    //
    // A few ioctl requests use the return value as an output parameter;
    // for those, IoctlRetInt should be used instead of this function.
    func IoctlGetInt(fd int, req uint) (int, error) {
    	var value int
    	err := ioctlPtr(fd, req, unsafe.Pointer(&value))
    	return value, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top