Sign in
cobalt
/
cobalt
/
788710a0d7b1b8d8e2340dd5fad5e8783a239862
/
.
/
third_party
/
musl
/
src
/
termios
/
tcgetwinsize.c
blob: 9b3a65a40d3ee5dfd680a7ba1711291294970232 [
file
] [
log
] [
blame
]
#include
<termios.h>
#include
<sys/ioctl.h>
#include
"syscall.h"
int
tcgetwinsize
(
int
fd
,
struct
winsize
*
wsz
)
{
return
syscall
(
SYS_ioctl
,
fd
,
TIOCGWINSZ
,
wsz
);
}