Fix fwrite() to return 0 when size or nmemb are zero.
Right now nmemb is returned when size is 0. In newer versions of the
standards, it is explicitly required that fwrite() should return 0.
Submitted by: Christoph Mallon
Approved by: re (kib)
Fix fwrite() to return 0 when size or nmemb are zero. Tags None Referenced Files None Subscribers None
Description
Details
Event Timeline |