my program is very simple, just call dlopen function in dl library and check the returned value. I found that whatever the first parameter is the handle returned is not NULL, even I passed a NULL or invalid file path to it, the result is also not NULL. I doubt if the compiler or dl library has problem.
Do other guys have the same problem with me and work around it later? Please give me a favor, thanks !