From: Thomas Adam Subject: Re: [PATCH] privsep.c: ignore closefrom() return value To: Anna “CyberTailor” , gameoftrees@openbsd.org Date: Mon, 6 Dec 2021 12:59:28 +0000 On Mon, 6 Dec 2021 at 12:49, Stefan Sperling wrote: > /* void -> int */ > #define closefrom(fd) (closefrom(fd), 0) > > Would this approach work for -portable? Yes. IIRC, there might already be support for it in include/got_compat.h I'll take a look later, unless you beat me to it. Kindly, Thomas