Status of ptsname()
Z. Majeed
zmajeed@sbcglobal.net
Mon Apr 18 19:09:16 GMT 2022
man ptsname says to define _XOPEN_SOURCE >= 500. I found that -D_XOPEN_SOURCE=700 works
I've built libuv on cygwin before - it defined _GNU_SOURCE which also works
On Monday, April 18, 2022, 02:21:15 PM EDT, Felipe Gasper <felipe@felipegasper.com> wrote:
Hello,
libuv fails to compile on Cygwin; it chokes when trying to use ptsname(), which apparently Cygwin’s stdlib.h doesn’t define.
`man ptsname` gives the impression that Cygwin implements this function. Since that doesn’t seem to be the case, should the man pages be updated to reflect reality?
It’s worth noting that ptsname() is on this list as well: https://cygwin.com/cygwin-api/compatibility.html
Thank you!
cheers,
-Felipe Gasper
More information about the Cygwin-developers
mailing list