Copyright Digital Equipment Corp. All rights reserved.

Return_Values

   x                  The number of characters placed in the
                      output string, not including the final null
                      character.
   Negative value     Indicates an output error occurred. The
                      function sets errno. For a list of errno
                      values set by this function, see fprintf.