Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IoctlWatchdogKeepalive (0.2 sec)

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

    	var value WatchdogInfo
    	err := ioctlPtr(fd, WDIOC_GETSUPPORT, unsafe.Pointer(&value))
    	return &value, err
    }
    
    // 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)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top