Index | Thread | Search

From:
Martijn Dekker <martijn@inlv.org>
Subject:
FD state after close(2) error?
To:
Tech-OpenBSD <tech@openbsd.org>
Date:
Fri, 7 Aug 2026 12:58:46 +0100

Download raw body.

Thread
Is there any scenario where a file descriptor passed to close(2) remains, or 
might remain, open if EINTR or EIO occurs? The manual page does not document this.

-- 
||	modernish -- harness the shell
||	https://github.com/modernish/modernish
||
||	KornShell lives!
||	https://github.com/ksh93/ksh