Complex sentence: The latter places the copy into newfd, if newfd is open, it is closed first.
Split into simpler sentences: The latter places the copy into newfd. If newfd is open, it is closed first.