ioctl.h 379 B

12345678910111213141516171819202122232425
  1. #ifndef __GBLIBC_BITS_IOCTL_H_
  2. #define __GBLIBC_BITS_IOCTL_H_
  3. #include <sys/uio.h>
  4. #define TIOCGPGRP (0x540f)
  5. #define TIOCSPGRP (0x5410)
  6. #define TIOCGWINSZ (0x5413)
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. struct winsize {
  11. unsigned short ws_row;
  12. unsigned short ws_col;
  13. unsigned short ws_xpixel;
  14. unsigned short ws_ypixel;
  15. };
  16. #ifdef __cplusplus
  17. }
  18. #endif
  19. #endif