mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 18:06:56 +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. :^)
5.5 KiB
5.5 KiB