memcall

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alloc

func Alloc(n int) []byte

Alloc allocates a byte slice of length n and returns it.

func DisableCoreDumps

func DisableCoreDumps()

DisableCoreDumps disables core dumps on Unix systems.

func Free

func Free(b []byte)

Free unallocates the byte slice specified.

func Lock

func Lock(b []byte)

Lock is a wrapper for unix.Mlock(), with extra precautions.

func Protect

func Protect(b []byte, read, write bool)

Protect modifies the PROT_ flags for a specified byte slice.

func Unlock

func Unlock(b []byte)

Unlock is a wrapper for unix.Munlock().

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL