>>622
Linuxだとmanに書いてあるよ
>ssize_t write(int fd, const void *buf, size_t count);
>If count is zero and the file descriptor refers to a regular file,
>0 will be returned without causing any other effect.