loader

package
v0.0.0-...-66a1b44 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LdSearchPaths []string = ParseLdConfig(loaderConfig)

Default search paths for the dynamic loader

Functions

func FindLibraryFunc

func FindLibraryFunc(basename string, paths []string,
	usable func(path string) bool) string

FindLibraryFunc searches a list of directories for a file given by its base name. Returns the first path for which the file exists and the usable predicate function returns true. If nothing is found, an empty string will be returned.

func ImportedLibraries

func ImportedLibraries(filename string) (deps []string, err error)

func ParseLdConfig

func ParseLdConfig(conf string) (paths []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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