mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-09 14:21:14 +03:00
The EINVAL error code is mandated by POSIX and documented in the manual. Also clean up the unlockpt implementation a bit, assuming that TIOCSPTLCK is always defined. Enhance login/tst-grantpt to cover unlockpt corner cases. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
1.2 KiB
1.2 KiB