12.2.4 Low-level operations on shared libraries
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • Linking Foreign Modules
          • Low-level operations on shared libraries
            • open_shared_object/2
            • open_shared_object/3
            • close_shared_object/1
            • call_shared_object_function/2
    • Packages
Availability:built-in
Sourceopen_shared_object(+File, -Handle, +Options)
As open_shared_object/2, but allows for additional flags to be passed. Options is a list of atoms. now implies the symbols are resolved immediately rather than lazy (default). global implies symbols of the loaded object are visible while loading other shared objects (by default they are local). Note that these flags may not be supported by your operating system. Check the documentation of dlopen() or equivalent on your operating system. Unsupported flags are silently ignored.