[all-commits] [llvm/llvm-project] ec802a: [libc] Add TIOCGWINSZ and struct winsize support (...

Jeff Bailey via All-commits all-commits at lists.llvm.org
Mon Jun 15 22:45:03 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec802a731798096cc44b8f56c76a4baf0a01d4bd
      https://github.com/llvm/llvm-project/commit/ec802a731798096cc44b8f56c76a4baf0a01d4bd
  Author: Jeff Bailey <jbailey at raspberryginger.com>
  Date:   2026-06-16 (Tue, 16 Jun 2026)

  Changed paths:
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/struct_winsize.h
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-macros/linux/sys-ioctl-macros.h
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/struct_winsize.h
    M libc/include/sys/ioctl.yaml
    M libc/test/src/sys/ioctl/linux/CMakeLists.txt
    M libc/test/src/sys/ioctl/linux/ioctl_test.cpp

  Log Message:
  -----------
  [libc] Add TIOCGWINSZ and struct winsize support (#203919)

Added support for the TIOCGWINSZ ioctl command.

* Defined struct winsize in llvm-libc-types.
* Defined TIOCGWINSZ in linux/sys-ioctl-macros.h.
* Exposed struct_winsize and TIOCGWINSZ in sys/ioctl.yaml.
* Added struct_winsize proxy header in hdr/types/struct_winsize.h.
* Added a unit test in test/src/sys/ioctl/linux/ioctl_test.cpp.

Assisted-by: Automated tooling, human reviewed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list