version 1.29, 2018/06/26 07:39:59 |
version 1.30, 2019/06/29 21:23:18 |
|
|
int n; |
int n; |
|
|
n = write(f->fd, data, count); |
n = write(f->fd, data, count); |
if (n < 0) { |
if (n == -1) { |
#ifdef DEBUG |
#ifdef DEBUG |
if (errno == EFAULT) { |
if (errno == EFAULT) { |
log_puts("sock_fdwrite: fault\n"); |
log_puts("sock_fdwrite: fault\n"); |
|
|
int n; |
int n; |
|
|
n = read(f->fd, data, count); |
n = read(f->fd, data, count); |
if (n < 0) { |
if (n == -1) { |
#ifdef DEBUG |
#ifdef DEBUG |
if (errno == EFAULT) { |
if (errno == EFAULT) { |
log_puts("sock_fdread: fault\n"); |
log_puts("sock_fdread: fault\n"); |