[Bug libc/1146] New: fprintf return code
karl at xiph dot org
sourceware-bugzilla@sources.redhat.com
Mon Aug 1 18:43:00 GMT 2005
checked of Fedora core 4
A recent report of an app we develope caused me to check the fprintf call. My
understanding is that on an error (like EFBIG from the write syscall) the
fprintf should return a negative value. Instead I'm seeing values greater than 0
returned, which would match the length of the string returned.
It may only be that 1 errno value, I haven't checked all possiblilities but I
thought I should let you know.
karl.
--
Summary: fprintf return code
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: karl at xiph dot org
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1146
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list