Hello,

This is undefined behavior. NetBSD returns EOF and sets errno to EBADFD. 
I am not sure why fflush(3) is called explicitly now, since fclose(3) does it 
anyway.

Best,

christos

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to