Hi, sauro wrote: > How can I know what functions inside the kernel are called when I call > the userland function __tcsetattr__? Run such an application under strace(). I think tcsetattr is implemented as an ioctl(), so running under strace() will give you the ioctl number of tcsetattr. Then you can look in the corresponding device driver to see how this ioctl() is implemented. Sincerly, Thomas -- Thomas Petazzoni thomas.petazzoni@xxxxxxxx -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/