| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: [C] Question about external variable initialization |
From: "Len Philpot"
> > > LP> Just as an aside, how portable is strdup()?
> > >
> > > Should be very portable, else you can make it:
> >
> > Just curious - Although I see it here and there on the Single Unix
> > Specification (and PC compilers), it's apparently not a part of ISO C.
>
> It is part of Posix C. There's an ANSI/ISO portable version in SNIPPETS.
Ah - I should have looked closer. I've had copies of SNIPPETS squirreled
away here and there for years... :-)
Thanks.
--
-- Len Philpot -> len{at}philpot.org <--
------ > -----> http://philpot.org/ <--
--- BBBS/LiI v4.01 Flag-5
* Origin: Prism's_Point (1:261/38.1)SEEN-BY: 633/267 270 @PATH: 261/38 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.