Is it considered to be ok to not check the return code of close(2) in base?
Poul-Henning Kamp
phk at phk.freebsd.dk
Sun Jan 7 08:36:58 UTC 2018
--------
In message <20180106215947.GG95035 at spindle.one-eyed-alien.net>, Brooks Davis writes:
>The portable API is terrible and closefrom() with arguments
>other than 3 (or maybe 4) is in many ways worse with require dup2(2)
>shenanigans.
Agreed.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-hackers
mailing list