]> Kevux Git Server - fll/commit
Bugfix: Incorrect return result for fwrite_unlocked().
authorKevin Day <thekevinday@gmail.com>
Wed, 26 Jan 2022 02:45:37 +0000 (20:45 -0600)
committerKevin Day <thekevinday@gmail.com>
Wed, 26 Jan 2022 03:08:45 +0000 (21:08 -0600)
commit6522d7c9f47aeb8c6093cf8bd27ad8a175c40475
treeec09732da7a74bbd67a839ad2da949d2be84c956
parent25f0a555273d25778879538d1ab4bcd40568b34e
Bugfix: Incorrect return result for fwrite_unlocked().

The return result for fwrite_unlocked() is not negative one.
Zero or some value less that the length is returned.

An error occurs when the return value is smaller than the given string length.

I likely confused write() return results with fwrite_unlocked().
level_0/f_print/c/print.c
level_0/f_print/c/print_to.h
level_0/f_print/c/private-print.c