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.