githaven/vendor/github.com/tinylib/msgp/msgp/advise_other.go

18 lines
225 B
Go
Raw Normal View History

2018-05-19 12:49:46 +00:00
// +build !linux appengine
package msgp
import (
"os"
)
// TODO: darwin, BSD support
func adviseRead(mem []byte) {}
func adviseWrite(mem []byte) {}
func fallocate(f *os.File, sz int64) error {
return f.Truncate(sz)
}