github.com/Ptt-official-app/go-bbs@v0.12.0/cache/mmap_windows.go (about)

     1  // +build windows
     2  
     3  package cache
     4  
     5  import (
     6  	"fmt"
     7  )
     8  
     9  func openMmap(fd int, size int) ([]byte, error) {
    10  	return nil, fmt.Errorf("TODO: implement open mmap")
    11  
    12  }
    13  
    14  func closeMmap(buf []byte) error {
    15  	return fmt.Errorf("TODO: implement close mmap")
    16  }