bsd unlockpt: unlockpt needs to fail with EINVAL, not ENOTTY
The EINVAL error code is mandated by POSIX, while ptsname_r returns ENOTTY, so we need to translate.
Loading
Please register or sign in to comment
The EINVAL error code is mandated by POSIX, while ptsname_r returns ENOTTY, so we need to translate.