]> git.ipfire.org Git - thirdparty/man-pages.git/commit
man/man2/close.2: CAVEATS: Document divergence from POSIX.1-2024
authorAlejandro Colomar <alx@kernel.org>
Fri, 16 May 2025 12:35:16 +0000 (14:35 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sun, 27 Jul 2025 11:12:03 +0000 (13:12 +0200)
commit2327cd69930e8d5d731b1d161f702dc697318103
treee914ba25e843621462ba359f33049e52e9c86648
parent8c27050808de2ffb67e8d84e3dca98c53dffafb0
man/man2/close.2: CAVEATS: Document divergence from POSIX.1-2024

POSIX.1-2024 now mandates a behavior different from what Linux (and many
other implementations) does.  It requires that we report EINPROGRESS for
what now is EINTR.

There are no plans to conform to POSIX.1-2024 within the Linux kernel,
so document this divergence.  Keep POSIX.1-2008 as the standard to
which we conform in STANDARDS.

Link: <https://sourceware.org/bugzilla/show_bug.cgi?id=14627>
Link: <https://pubs.opengroup.org/onlinepubs/9799919799/functions/close.html>
Cc: Jan Kara <jack@suse.cz>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Rich Felker <dalias@libc.org>
Cc: <linux-fsdevel@vger.kernel.org>
Cc: <linux-api@vger.kernel.org>
Cc: <libc-alpha@sourceware.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/close.2