public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
* strdup visibility
@ 2021-02-08  3:04 Marco Atzeri
  2021-02-08  6:21 ` Yaakov Selkowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Atzeri @ 2021-02-08  3:04 UTC (permalink / raw)
  To: cygwin-developers

Hy Guys,

currently we have in  /usr/include/string.h

#if __MISC_VISIBLE || __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE >= 4
char    *strdup (const char *) __malloc_like __result_use_check;
#endif


but the function was moved to POSIX base some time ago
https://pubs.opengroup.org/onlinepubs/9699919799/functions/strdup.html

should the conditional dropped ? Or I misunderstand it?

Regards
Marco

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-19  3:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08  3:04 strdup visibility Marco Atzeri
2021-02-08  6:21 ` Yaakov Selkowitz
2021-02-08 12:36   ` marco atzeri
2021-02-19  3:03     ` Yaakov Selkowitz

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).