mirror of
https://github.com/octoleo/restic.git
synced 2024-11-30 00:33:57 +00:00
x/sys/unix: Manually add FADV_* constants for Linux/arm
This commit is contained in:
parent
69d8fe5b4f
commit
5061607e77
@ -145,6 +145,15 @@ type Fsid struct {
|
|||||||
X__val [2]int32
|
X__val [2]int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const (
|
||||||
|
FADV_NORMAL = 0x0
|
||||||
|
FADV_RANDOM = 0x1
|
||||||
|
FADV_SEQUENTIAL = 0x2
|
||||||
|
FADV_WILLNEED = 0x3
|
||||||
|
FADV_DONTNEED = 0x4
|
||||||
|
FADV_NOREUSE = 0x5
|
||||||
|
)
|
||||||
|
|
||||||
type Flock_t struct {
|
type Flock_t struct {
|
||||||
Type int16
|
Type int16
|
||||||
Whence int16
|
Whence int16
|
||||||
|
Loading…
Reference in New Issue
Block a user