Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Cコードでlibltdlを使用して、libtoolで作成された共有オブジェクトファイルを動的にロードしています。libtool のバージョンの dlopen によって返されるモジュール ハンドルごとに参照カウントが内部的に保持されているようです。この参照カウントにアクセスする方法はありますか?
const lt_dlinfo *info; info = lt_dlgetinfo(myhandle); printf("refcount is %d\n", info->ref_count);