posix_spawn_file_action_addopen.3: ignoring close failure is now approved

Reviewed by:	dim
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Differential revision:	https://reviews.freebsd.org/D56222
This commit is contained in:
Konstantin Belousov
2026-04-02 11:06:52 +03:00
parent 7caa71145c
commit b7b485efac
+4 -2
View File
@@ -481,8 +481,10 @@ functions conform to
.St -p1003.1-2001 ,
except that they ignore all errors from
.Fn close .
A future update of the Standard is expected to require that these functions
not fail because a file descriptor to be closed (via
The
.St -p1003.1-2024 ,
version of the Standard no longer requires that these functions
fail because a file descriptor to be closed (via
.Fn posix_spawn_file_actions_addclose )
is not open.
.Sh HISTORY