?? write.man
字號:
NAME
write - write to a file descriptor
SYNOPSIS
ssize_t write(int fd, const void *buf, size_t count);
DESCRIPTION
write writes up to count bytes to the file referenced by
the file descriptor fd from the buffer starting at buf.
RETURN VALUE
On success, the number of bytes written are returned (zero
indicates nothing was written). On error, -1 is returned,
and errno is set appropriately.
ERRORS
EBADF fd is not a valid file descriptor or is not open
for writing.
EINVAL fd is attached to an object which is unsuitable for
writing.
EPIPE fd is connected to a socket whose reading
end is closed.
EAGAIN Non-blocking I/O has been selected using O_NONBLOCK
and there was no room in the pipe or socket con
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -