_stty.c 172 B

1234567891011
  1. #include <lib.h>
  2. #define stty _stty
  3. #define ioctl _ioctl
  4. #include <sgtty.h>
  5. PUBLIC int stty(fd, argp)
  6. int fd;
  7. struct sgttyb *argp;
  8. {
  9. return ioctl(fd, TIOCSETP, argp);
  10. }