title: how can I be sure dlopen work properly
body: <p>I am trying to load symbols into my memory by using dlopen.</p>
  
  <p>However, I am not sure if this work properly.</p>
  
  <p>My code as following:</p>
  
  <pre><code>const char* lib_names[] = {"libudev.so.0.13.0"};
  int lib = dlopen(lib_names[0], RTLD_NOLOAD | RTLD_LAZY | RTLD_GLOBAL);
  </code></pre>
  
  <p>Is this lib can play a fd for me to judge if this shared object opened properly?</p>
  
  <p>Thanks for any feedback</p>