mojave man page for dlopen_preflight

Query: dlopen_preflight

OS: mojave

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DLOPEN_PREFLIGHT(3)					   BSD Library Functions Manual 				       DLOPEN_PREFLIGHT(3)

NAME
dlopen_preflight -- preflight the load of a dynamic library or bundle
SYNOPSIS
#include <dlfcn.h> bool dlopen_preflight(const char* path);
DESCRIPTION
dlopen_preflight() examines the mach-o file specified by path. It checks if the file and libraries it depends on are all compatible with the current process. That is, they contain the correct architecture and are not otherwise ABI incompatible. dlopen_preflight() was first available in Mac OS X 10.5.
SEARCHING
dlopen_preflight() uses the same steps as dlopen() to find a compatible mach-o file.
RETURN VALUES
dlopen_preflight() 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 dlerror().
SEE ALSO
dlopen(3) dlerror(3)
BSD
April 17, 2006 BSD
Related Man Pages
dlsym(3) - mojave
dlsym(3) - osx
dlerror(3) - minix
dlerror(3) - x11r4
dlerror(3) - ultrix
Similar Topics in the Unix Linux Community
Update: Uploading Movies at Attachments to Posts
12-Core MacPro (2013) kernel_task over 1200%
My first PERL incarnation... Audio Oscillograph
How can I direct messages from mac console.app to a log file?
[BASH] eval command not expanding variables as expected.