Documentation ¶
Overview ¶
package system provides optimized and dangerous functions for system calls.
Index ¶
- Constants
- Variables
- func Allocate(fd int, length int64) (err error)
- func Close(fd uintptr) (err error)
- func Mmap(fd int, length int, prot int, flags int) (data uintptr, err error)
- func Msync(data uintptr, length int, flags int) (err error)
- func Munmap(data uintptr, length int) (err error)
- func NextDirent(buf []byte) (out_buf []byte, name []byte, ok bool)
- func Open(path []byte) (fd uintptr, err error)
Constants ¶
View Source
const ( PROT_READ = syscall.PROT_READ PROT_WRITE = syscall.PROT_WRITE MAP_SHARED = syscall.MAP_SHARED MS_SYNC = syscall.MS_SYNC MS_ASYNC = syscall.MS_ASYNC )
Variables ¶
View Source
var Error = errs.Class("system")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.