||[Monday 25th January 2010 at 9:15 pm]
If I've understood the man page correctly, under Linux it is not an error for the write() function to not, in fact, write anything. Logically, this means that write() could be implemented as|
ssize_t write(int fd, const void *buf, size_t count)
This would be simultaneously a) a fully conforming implementation, and b) completely useless.