5 .Nd close a dynamic library or bundle
9 .Fn dlclose "void* handle"
12 releases a reference to the dynamic library or bundle referenced by
14 If the reference count drops to 0, the bundle is removed from the
18 Just before removing a dynamic library or bundle in this way, any
19 termination routines in it are called.
21 is the value returned by a previous call to dlopen.
25 is successful, it returns a value of 0.
26 Otherwise it returns -1, and sets an error string that can be
36 .Xr NSObjectFileImage 3