The conventional way to use write(),
is to verify that the return value matches the number of bytes.

But what could possibly go wrong,
if the return value is ignored and errno is used..

errno = 0;
while() write()
if errno