fiber/internal/msgp/advise_other.go
2020-10-26 01:12:04 +01:00

18 lines
225 B
Go

// +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)
}