Hit batter rule

If a batter with 2 strikes on him swings at a curve and misses it, but it hits him does he get the base or is he a strikeout?

Out. Rule 6.05 (f) A batter is out when…
He attempts to hit a third strike and the ball touches him;

It’s also a strike if it happens with less than 2 strikes.