- 论坛徽章:
- 0
|
CONFORMING TO
SVr4, SVID, POSIX, X/OPEN, 4.3BSD. SVr4 documents addi-
tional error conditions EDEADLK, ENOLCK, ENOLNK, ENOSR,
ENXIO, EPIPE, or ERANGE. Under SVr4 a write may be inter-
rupted and return EINTR at any point, not just before any
data is written.
NOTES
A successful return from write does not make any guarantee
that data has been committed to disk. In fact, on some
buggy implementations, it does not even guarantee that
space has successfully been reserved for the data. The
only way to be sure is to call fsync(2) after you are done
writing all your data.
//Under SVr4 a write may be interrupted and return EINTR(中断) at any point, not just before any data is written. |
|