Hi Group, When I use getchar() after dlclose() function the program doesn't wait for the character for the keyboard instead proceeds along with further program execution but when I getchar() before dlclose() function getchar() works as expected. dlclose() function is used to load the shared library dynamically at runtime as and when demanded. Can you tell me the reason for this behavior. Thanks & Regards Soumya. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/