This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/1146] New: fprintf return code
- From: "karl at xiph dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Aug 2005 18:43:56 -0000
- Subject: [Bug libc/1146] New: fprintf return code
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
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.