Module Name: src Committed By: riastradh Date: Sat Dec 21 18:56:28 UTC 2024
Modified Files: src/lib/libc/sys: close.2 Log Message: close(2): Document the finality of closing. Even if close(2) returns -1 on error, the descriptor is closed (or was already closed). POSIX doesn't specify this, but that's a bug in POSIX (probably to accommodate some buggy ancient proprietary Unix). Every free software OS kernel I checked works the same way and it is important to be able to reliably close descriptors with finality. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/sys/close.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.