Copyright Digital Equipment Corp. All rights reserved.
x The number of bytes written.
Negative value Indicates an output error occurred. The
function sets errno. For a list of possible
errno values set, see fprintf.