Re: getchar issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/13/06, Soumya Kanta Panigrahi <soumya.panigrahi@xxxxxxxxx> wrote:
>
>       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.
>

I think you are asking this on the wrong list ...  As this list is for
kernel related issues and your issue is related to user space. Someone
might reply you with answer (not me because I don't know about
dlclose) but you must search google for it !  And have you tried by
giving delay just after dlclose call and before getchar ? this might
give you some hint if its work after delay !

--
Fawad Lateef

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux