On 11/27/06, dann frazier <[EMAIL PROTECTED]> wrote:

hrm... well you could try using ptsname_r instead of ptsname - this
requires defining _GNU_SOURCE instead of _XOPEN_SOURCE. See the
ptsname manpage.

Another option is to call open("/dev/ptmx",O_RDWR|O_NOCTTY) instead of
getpt(), as per the manpage. It reduces portability, but will work for
Linux.

What about using posix_openpt? seems the most portable option..

--
Martín Ferrari

Reply via email to