Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.0.0 / tests / test / tlib2b.pp
Size: Mime:
{ %target=linux,android }
{ %needlibrary }
{ %delfiles=tlib2a }

uses dl;

var
   hdl : Pointer;

begin
   WriteLn('dlopen');
   hdl := dlopen('./libtlib2a.so', RTLD_LAZY);
   if hdl = nil then
      WriteLn(dlerror())
   else
   begin
      WriteLn('dlclose');
      dlclose(hdl);
   end;
   WriteLn('exit');
end.