home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / LIBC / LIBC-4.6 / LIBC-4 / libc-linux / sysdeps / linux / __tcgetatr.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-30  |  234 b   |  14 lines

  1. #include <termios.h>
  2. #include <sys/ioctl.h>
  3.  
  4. int
  5. __tcgetattr(int fildes, struct termios *termios_p)
  6. {
  7.     return __ioctl(fildes, TCGETS, termios_p);
  8. }
  9.  
  10. #include <gnu-stabs.h>
  11. #ifdef weak_alias
  12. weak_alias (__tcgetattr, tcgetattr);
  13. #endif
  14.