Nonnegative value Indicates success. -1 Indicates an error. The function sets errno. For a list of the values, see fputwc.