pub const FD_CLOEXEC: c_int = 0x0100_0000;
Close the file descriptor upon execution of an exec family function and in the new process image created by posix_spawn() or posix_spawnp().
exec
posix_spawn()
posix_spawnp()