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
signature.asc
Description: Message signed with OpenPGP
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
signature.asc
Description: Message signed with OpenPGP