 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
      Index ¶
- Constants
- func Fd(f *os.File) int
- func Fsize(f *os.File) int
- func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error)
- func Msync(b []byte) (err error)
- func Munmap(b []byte) (err error)
- func Offset(offset int64) int64
- func Open(fd int, offset int64, length int, p Prot) (data []byte, err error)
- func ProtFlags(p Prot) (prot int, flags int)
- type Prot
Constants ¶
      View Source
      
  
const ( PAGE_READONLY = syscall.PAGE_READONLY PAGE_READWRITE = syscall.PAGE_READWRITE PAGE_WRITECOPY = syscall.PAGE_WRITECOPY PAGE_EXECUTE_READ = syscall.PAGE_EXECUTE_READ PAGE_EXECUTE_READWRITE = syscall.PAGE_EXECUTE_READWRITE PAGE_EXECUTE_WRITECOPY = syscall.PAGE_EXECUTE_WRITECOPY FILE_MAP_COPY = syscall.FILE_MAP_COPY FILE_MAP_WRITE = syscall.FILE_MAP_WRITE FILE_MAP_READ = syscall.FILE_MAP_READ FILE_MAP_EXECUTE = syscall.FILE_MAP_EXECUTE )
Variables ¶
This section is empty.
Functions ¶
func Fd ¶
Fd returns the integer file descriptor referencing the open file. The file descriptor is valid only until f.Close is called or f is garbage collected.
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.