grantpt
int grantpt(int);
if (grantpt(fd) == -1)
RL(grantpt(hostfd));
REQUIRE_ERRNO(grantpt(fdm), -1);