Re: tcsetattr implementation

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

 



On Mon, Sep 17, 2001 at 04:02:09PM +0530, rmasoodu@in.ibm.com wrote:
> where is the implementation of the system call tcsetattr( )/tcgetattr (
> ). What i mean where does it gets mapped to in the kernel code ?????

tcsetattr() and tcgetattr() are *userland* functions that wrap around a
couple of ioctls. My guess is the kernel uses rs_set_termios() and
rs_ioctl(), but check the source of glibc to find out what exactly gets
called.

> Also I am loookig for implementing RTS /CTS flow control in the serial
> driver .
> But i am not able to find any sample implementation in the
> usr/src/linux/drivers/char ........

You mean something like change_speed(), rs_throttle(), or
rs_set_termios() in serial.c? Grep is your friend...


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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