block

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const BLKGETSIZE64 = C.BLKGETSIZE64

Variables

This section is empty.

Functions

func BlkGetSize64

func BlkGetSize64(devpath string) (uint64, error)

BlkGetSize64 returns the current size of a block device in bytes.

If there is an error, it will be of type *os.SyscallError.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL