portage.util._ctypes module

portage.util._ctypes.LoadLibrary(name)

Calls ctypes.cdll.LoadLibrary(name) if the ctypes module is available, and otherwise returns None. Results are cached for future invocations.

portage.util._ctypes.find_library(name)

Calls ctype.util.find_library() if the ctypes module is available, and otherwise returns None. Results are cached for future invocations.