[libdvdnav-devel] Pointless Checking For Errors On Close

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Thu Sep 17 05:00:22 CEST 2015


On Fri, 11 Sep 2015 19:50:29 +1200, I wrote:

> Data loss is _not_ possible on closing an input file.

See also <http://lwn.net/Articles/576478/>. The conclusion seems quite
clear: apart from EBADF (indicating a program bug), close(2) should
never return any errors.


More information about the libdvdnav-devel mailing list