fd can't be both < 0 and >= 0.