package dlopen
import "github.com/coreos/go-systemd/v22/internal/dlopen"
Package dlopen provides some convenience functions to dlopen a library and get its symbols.
Index ¶
Variables ¶
Types ¶
type LibHandle ¶
LibHandle represents an open handle to a library (.so)
func GetHandle ¶
GetHandle tries to get a handle to a library (.so), attempting to access it by the names specified in libs and returning the first that is successfully opened. Callers are responsible for closing the handler. If no library can be successfully opened, an error is returned.
func (*LibHandle) Close ¶
Close closes a LibHandle.
func (*LibHandle) GetSymbolPointer ¶
GetSymbolPointer takes a symbol name and returns a pointer to the symbol.
Source Files ¶
- Version
- v22.3.1
- Published
- Mar 30, 2021
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 48 minutes ago –
Tools for package owners.