Searched hist:195637 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.3-release/lib/libc/stdio/
H A Dfread.cdiff 195637 Sun Jul 12 13:23:38 MDT 2009 ed 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)
H A Dfwrite.cdiff 195637 Sun Jul 12 13:23:38 MDT 2009 ed 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)

Completed in 100 milliseconds