Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for ioctl (0.03 sec)

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

    //go:build hurd
    
    package unix
    
    /*
    #include <stdint.h>
    int ioctl(int, unsigned long int, uintptr_t);
    */
    import "C"
    
    func ioctl(fd int, req uint, arg uintptr) (err error) {
    	r0, er := C.ioctl(C.int(fd), C.ulong(req), C.uintptr_t(arg))
    	if r0 == -1 && er != nil {
    		err = er
    	}
    	return
    }
    
    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
    	r0, er := C.ioctl(C.int(fd), C.ulong(req), C.uintptr_t(uintptr(arg)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 635 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ioctl_zos.go

    package unix
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    // ioctl itself should not be exposed directly, but additional get/set
    // functions for specific types are permissible.
    
    // IoctlSetInt performs an ioctl operation which sets an integer value
    // on fd, using the specified request number.
    func IoctlSetInt(fd int, req int, value int) error {
    	return ioctl(fd, req, uintptr(value))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ioctl_signed.go

    //go:build aix || solaris
    
    package unix
    
    import (
    	"unsafe"
    )
    
    // ioctl itself should not be exposed directly, but additional get/set
    // functions for specific types are permissible.
    
    // IoctlSetInt performs an ioctl operation which sets an integer value
    // on fd, using the specified request number.
    func IoctlSetInt(fd int, req int, value int) error {
    	return ioctl(fd, req, uintptr(value))
    }
    
    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

    package unix
    
    import (
    	"unsafe"
    )
    
    // ioctl itself should not be exposed directly, but additional get/set
    // functions for specific types are permissible.
    
    // IoctlSetInt performs an ioctl operation which sets an integer value
    // on fd, using the specified request number.
    func IoctlSetInt(fd int, req uint, value int) error {
    	return ioctl(fd, req, uintptr(value))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ioctl_linux.go

    }
    
    // IoctlWatchdogKeepalive issues a keepalive ioctl to a watchdog device. For
    // more information, see:
    // https://www.kernel.org/doc/html/latest/watchdog/watchdog-api.html.
    func IoctlWatchdogKeepalive(fd int) error {
    	// arg is ignored and not a pointer, so ioctl is fine instead of ioctlPtr.
    	return ioctl(fd, WDIOC_KEEPALIVE, 0)
    }
    
    // IoctlFileCloneRange performs an FICLONERANGE ioctl operation to clone the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/lif/link.go

    	}
    	ioc := int64(syscall.SIOCGLIFINDEX)
    	if err := ioctl(s, uintptr(ioc), unsafe.Pointer(&lifr)); err == nil {
    		ll.Index = int(nativeEndian.Uint32(lifr.Lifru[:4]))
    	}
    	ioc = int64(syscall.SIOCGLIFFLAGS)
    	if err := ioctl(s, uintptr(ioc), unsafe.Pointer(&lifr)); err == nil {
    		ll.Flags = int(nativeEndian.Uint64(lifr.Lifru[:8]))
    	}
    	ioc = int64(syscall.SIOCGLIFMTU)
    	if err := ioctl(s, uintptr(ioc), unsafe.Pointer(&lifr)); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/internal/syscall/unix/ioctl_aix.go

    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.a/shr_64.o"
    //go:linkname libc_ioctl libc_ioctl
    var libc_ioctl uintptr
    
    // Implemented in syscall/syscall_aix.go.
    func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    func Ioctl(fd int, cmd int, args unsafe.Pointer) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 16 16:58:24 UTC 2021
    - 679 bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/lif/syscall.go

    //go:build solaris
    
    package lif
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    
    //go:linkname procIoctl libc_ioctl
    
    var procIoctl uintptr
    
    func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (uintptr, uintptr, syscall.Errno)
    
    func ioctl(s, ioc uintptr, arg unsafe.Pointer) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 642 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeInputStream.java

    import jcifs.CIFSException;
    import jcifs.internal.smb1.trans.TransPeekNamedPipe;
    import jcifs.internal.smb1.trans.TransPeekNamedPipeResponse;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.internal.smb2.ioctl.SrvPipePeekResponse;
    
    
    /**
     * @author mbechler
     *
     */
    public class SmbPipeInputStream extends SmbFileInputStream {
    
        private SmbPipeHandleImpl handle;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  10. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic getrlimit getrlimit ""
    //go:cgo_import_dynamic gettimeofday gettimeofday ""
    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    //go:cgo_import_dynamic lstat$INODE64 lstat$INODE64 ""
    //go:cgo_import_dynamic mach_absolute_time mach_absolute_time ""
    //go:cgo_import_dynamic mach_task_self_ mach_task_self_ ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top