提交 cab0a8fb 编写于 作者: R Rich Felker

clean up overinclusion in files using TIOCGWINSZ

now that struct winsize is available via sys/ioctl.h once again,
including termios.h is not needed.
上级 1ccc804e
#include "stdio_impl.h"
#include <stdlib.h>
#include <sys/ioctl.h>
#include <termios.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
......
#include "stdio_impl.h"
#include <sys/ioctl.h>
#include <termios.h>
size_t __stdout_write(FILE *f, const unsigned char *buf, size_t len)
{
......
#include <unistd.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <termios.h>
#include "syscall.h"
int isatty(int fd)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册