Documentation ¶
Index ¶
Constants ¶
View Source
const ABSTRACT_UNIX_SOCK_LEN int = C.ABSTRACT_UNIX_SOCK_LEN
View Source
const CLOSE_RANGE_CLOEXEC uint32 = C.CLOSE_RANGE_CLOEXEC
View Source
const CLOSE_RANGE_UNSHARE uint32 = C.CLOSE_RANGE_UNSHARE
View Source
const IoctlBtrfsSetReceivedSubvol = C.BTRFS_IOC_SET_RECEIVED_SUBVOL
IoctlBtrfsSetReceivedSubvol is used to set information about a received subvolume.
View Source
const IoctlHIDIOCGrawInfo = C.HIDIOCGRAWINFO
IoctlHIDIOCGrawInfo contains the bus type, the vendor ID (VID), and product ID (PID) of the device.
View Source
const IoctlVhostVsockSetGuestCid = C.VHOST_VSOCK_SET_GUEST_CID
IoctlVhostVsockSetGuestCid is used to set the vsock guest context ID.
Variables ¶
This section is empty.
Functions ¶
func CreateMemfd ¶
CreateMemfd creates a new memfd for the provided byte slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.