* POSIX conformance question
@ 2018-06-13 3:23 Olton, Chris
2018-06-14 21:55 ` Adhemerval Zanella
0 siblings, 1 reply; 2+ messages in thread
From: Olton, Chris @ 2018-06-13 3:23 UTC (permalink / raw)
To: libc-help
When we use the -ansi flag and include string.h, strdup isn't included. I don't know the rationale for keeping POSIX out when doing this, but that's not really my question. I understand I can still have this functionality if I define _POSIX_C_SOURCE to be >= 200809, but my question is why do I have to use this version? Why couldn't I use an earlier POSIX version (e.g. 200112) which also has strdup?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-14 21:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13 3:23 POSIX conformance question Olton, Chris
2018-06-14 21:55 ` Adhemerval Zanella
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).