source: asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/__stdout_write.c@ 337

Last change on this file since 337 was 337, checked in by coas-nagasima, 6 years ago

ASP3版ECNLを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 295 bytes
Line 
1#include "stdio_impl.h"
2#include <sys/ioctl.h>
3
4size_t __stdout_write(FILE *f, const unsigned char *buf, size_t len)
5{
6 struct winsize wsz;
7 f->write = __stdio_write;
8 if (!(f->flags & F_SVB) && __syscall(SYS_ioctl, f->fd, TIOCGWINSZ, &wsz))
9 f->lbf = -1;
10 return __stdio_write(f, buf, len);
11}
Note: See TracBrowser for help on using the repository browser.