Manual Pages for UNIX Darwin command on man dlopen_preflight
MyWebUniversity

Manual Pages for UNIX Darwin command on man dlopen_preflight

DLOPENPREFLIGHT(3) BSD Library Functions Manual DLOPENPREFLIGHT(3)

NAME

ddllooppeennpprreefflliigghhtt - preflight the load of a dynamic library or bundle

SYNOPSIS

##iinncclluuddee <>

bool ddllooppeennpprreefflliigghhtt(const char* path);

DESCRIPTION

ddllooppeennpprreefflliigghhtt() examines the mach-o file specified by path. It checks

if the file and libraries it depends on are all compatible with the cur-

rent process. That is, they contain the correct architecture and are not otherwise ABI incompatible. ddllooppeennpprreefflliigghhtt() was first available in Mac OS X 10.5. SSEEAARRCCHHIINNGG ddllooppeennpprreefflliigghhtt() uses the same steps as ddllooppeenn() to find a compatible

mach-o file.

RETURN VALUES

ddllooppeennpprreefflliigghhtt() returns true on if the mach-o file is compatible. If

the file is not compatible, it returns false and sets an error string that can be examined with ddlleerrrroorr().

SEE ALSO

dlopen(3) dlerror(3) BSD April 17, 2006 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™