6 .Nd preflight the load of a dynamic library or bundle
10 .Fn dlopen_preflight "const char* path"
13 examines the mach-o file specified by
15 It checks if the file and libraries it depends on are all compatible with the current process.
16 That is, they contain the correct architecture and are not otherwise ABI incompatible.
19 was first available in Mac OS X 10.5.
22 uses the same steps as
24 to find a compatible mach-o file.
27 returns true on if the mach-o file is compatible. If the file is not compatible, it returns false
28 and sets an error string that can be examined with