Copyright Digital Equipment Corp. All rights reserved.

Return_Values

   x                  The number of bytes written.
   Negative value     Indicates that an output error occurred.
                      The function sets errno. For a list of errno
                      values set by this function, see fprintf.