Note that the fclose(3) page does already say:
RETURN VALUE
Upon successful completion 0 is returned. Otherwise, EOF is
returned and errno is set to indicate the error. In either
case any further access (including another call to fclose()) to
the stream results
reassign 626983 manpages-dev 3.27-1
# documentation
severity 626983 minor
retitle 626983 fclose.3: please clarify stream state after fclose
quit
Hi,
julien godin wrote:
> As described in the subject, the ferror() function return no error even if
> the stream as been previously closed
As the POS
Package: libc6
Version: 2.11.2-10
Severity: normal
Hi,
As described in the subject, the ferror() function return no error even if the
stream as been previously closed :
Here is a simple program to test this :
#include
void main()
{
FILE * f;
f=fopen("test","r");
pri
3 matches
Mail list logo