Re: /dev/pts is fine but where is ptsname(3)?

Matti Aarnio (matti.aarnio@sonera.fi)
Mon, 21 Dec 1998 13:21:16 +0200 (EET)


> Hello guys,
>
> I get a master fd from open("/dev/ptmx", O_RDWR) and the /dev/pts/0 node is
> created happily but how do I discover that it is mine? I.e. I expect
> ptsname(fdm) to return the path which I can then open.
> But there is no ptsname() nore is there grantpt(). What am I to do?
>
> My system is glibc2 (as supplied with Red Hat 5.1)

Those functions are in glibc 2.1 which is under development
right now.

> Regards,
> Tigran A. Aivazian, http://www.aivazian.demon.co.uk/

/Matti Aarnio <matti.aarnio@sonera.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/