musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/ioctl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020年08月24日 12:29:30 -0400
committerRich Felker <dalias@aerifal.cx>2020年08月24日 21:31:18 -0400
commit4d5786544bb52c62fc1ae84d91684ef2268afa05 (patch)
tree4d511ec96569212a52676dc363091f3cf4a76821 /include/sys/ioctl.h
parent9d4b25b4738dbabf628055601d96ba0609c2b4a8 (diff)
downloadmusl-4d5786544bb52c62fc1ae84d91684ef2268afa05.tar.gz
add tcgetwinsize and tcsetwinsize functions, move struct winsize
these have been adopted for future issue of POSIX as the outcome of Austin Group issue 1151, and are simply functions performing the roles of the historical ioctls. since struct winsize is being standardized along with them, its definition is moved to the appropriate header. there is some chance this will break source files that expect struct winsize to be defined by sys/ioctl.h without including termios.h. if this happens, further changes will be needed to have sys/ioctl.h expose it too.
Diffstat (limited to 'include/sys/ioctl.h')
-rw-r--r--include/sys/ioctl.h 7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h
index c2ce3b48..d6a7d474 100644
--- a/include/sys/ioctl.h
+++ b/include/sys/ioctl.h
@@ -47,13 +47,6 @@ extern "C" {
#define TIOCSER_TEMT 1
-struct winsize {
- unsigned short ws_row;
- unsigned short ws_col;
- unsigned short ws_xpixel;
- unsigned short ws_ypixel;
-};
-
#define SIOCADDRT 0x890B
#define SIOCDELRT 0x890C
#define SIOCRTMSG 0x890D
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 11:18:11 +0000

AltStyle によって変換されたページ (->オリジナル) /