mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
This makes getting a pseudoterminal pair a little bit more portable. Note that grantpt() and unlockpt() are currently no-ops, since we've already granted the pseudoterminal slave to the calling user. We also accept O_CLOEXEC to posix_openpt(), unlike some systems. :^)
18 KiB
18 KiB