On Mon, Jun 2, 2014 at 4:47 PM, Paul Eggert <egg...@cs.ucla.edu> wrote: > Why not just use posix_openpt?
If the two functions are exactly the same (I think they are), this would be acceptable. There are two weak reasons to use getpt instead: (i) posix_openpt isn't documented in the glibc manual (but I've raised a bug for this), and (ii) posix_openpt has an ugly name. There is probably not a strong need for it but I would use it if it were there.