memcall

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 2 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