> I've tried using the devpts filesystem and "/dev/pts/<minor>" for opening
> the slave, which seems to work fine, but wonder if I should trust that
> it'll be common for users to have /dev/pts mounted, with the correct
> permissions. (It's still experimental in late 2.1 kernels.)
Use openpty() (in libutil). It will use whatever method is available.
In glibc 2.1 this means, it'll use the /dev/pts method if the kernel
supports it.
-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu