📄 writev.c
字号:
/* $Revision: 1.3 $***/#include <stdio.h>#include <sys/types.h>#include <sys/uio.h>/*** "Fake" writev for sites without it.*/intwritev(fd, vp, vpcount) int fd; struct iovec *vp; int vpcount;{ int count; for (count = 0; --vpcount >= 0; count += vp->iov_len, vp++) if (xwrite(fd, vp->iov_base, vp->iov_len) < 0) return -1; return count;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -