grantpt and ptsname man pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


near as i can tell (from tests and code), ptsname and grantpt both
require the passed-in fd to exist in /dev/pts.  So if you pass in
an fd from a newinstance devpts mounted elsewhere things can go
wrong.  Particularly if the passed-in fd is for /other/dev/pts/0
and /dev/pts/0 does not exist, then grantpt and ptsname will return

The manpage should probably mention that.  I've not written anything
for it yet.  (Willing to, but not until this weekend I'm afraid.)

To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

  Powered by Linux