From: "Z. Majeed" <zmajeed@sbcglobal.net>
To: "cygwin-developers@cygwin.com" <cygwin-developers@cygwin.com>,
Felipe Gasper <felipe@felipegasper.com>
Subject: Re: Status of ptsname()
Date: Mon, 18 Apr 2022 19:09:16 +0000 (UTC) [thread overview]
Message-ID: <249274291.525023.1650308956508@mail.yahoo.com> (raw)
In-Reply-To: <2C83893F-5B5D-4D6F-9C1B-BEDF0120953B@felipegasper.com>
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
next prev parent reply other threads:[~2022-04-18 19:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-18 18:20 Felipe Gasper
2022-04-18 19:09 ` Z. Majeed [this message]
2022-04-18 19:21 ` Felipe Gasper
2022-04-18 21:15 ` Adam Dinwoodie
2022-04-18 21:39 ` Felipe Gasper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=249274291.525023.1650308956508@mail.yahoo.com \
--to=zmajeed@sbcglobal.net \
--cc=cygwin-developers@cygwin.com \
--cc=felipe@felipegasper.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).