ons 2006-04-26 klockan 19:18 +0200 skrev Guido Serassio:
> Or what about this one ?
>
> http://www.koders.com/c/fid3F7CD99A2330F1C4597E40E95EC1F2ABF7D3585C.aspx?s=strtok_r
> http://www.koders.com/c/fidB5BB2AC1E8C46149D409AEE6639912F088F6DF3D.aspx?s=strtok_r
Needs to be mangled slightly to work o
Hi Henrik,
At 11.49 26/04/2006, Henrik Nordstrom wrote:
>
> Cool. Can I just use it then [are you happy to make the compatability
> library ?]
Here is one suggestion:
#include
char *strtok_r(char *str, const char *delim, char **saveptr)
{
char *token;
if (str)
*saveptr = str
ons 2006-04-26 klockan 10:08 +1000 skrev Robert Collins:
> On Tue, 2006-04-25 at 14:06 +0200, Guido Serassio wrote:
> > Hi Robert,
> >
> > At 13.52 25/04/2006, Robert Collins wrote:
> >
> > >So, I did some more today, courtesy of ANZAC day. Hopefully next wee
On Tue, 2006-04-25 at 14:06 +0200, Guido Serassio wrote:
> Hi Robert,
>
> At 13.52 25/04/2006, Robert Collins wrote:
>
> >So, I did some more today, courtesy of ANZAC day. Hopefully next weekend
> >I'll get another chance to cut some code. I'm thinking of cha
tis 2006-04-25 klockan 21:52 +1000 skrev Robert Collins:
> So, I did some more today, courtesy of ANZAC day. Hopefully next weekend
> I'll get another chance to cut some code. I'm thinking of changing
> strtok -> strtok_r in the parser.
>
> How portable is strtok_r ?
On Tue, Apr 25, 2006 at 07:56:50PM +0800, Adrian Chadd wrote:
> its on macosx, so it should appear in BSD.
> On Tue, Apr 25, 2006, Robert Collins wrote:
> > How portable is strtok_r ? Specifically is it available on mingw, BSD
> > systems ?
strtok_r has been available in FreeBSD since 3.1.
--
Mic
Hi Robert,
At 13.52 25/04/2006, Robert Collins wrote:
So, I did some more today, courtesy of ANZAC day. Hopefully next weekend
I'll get another chance to cut some code. I'm thinking of changing
strtok -> strtok_r in the parser.
How portable is strtok_r ? Specifically is it avail
its on macosx, so it should appear in BSD.
On Tue, Apr 25, 2006, Robert Collins wrote:
> So, I did some more today, courtesy of ANZAC day. Hopefully next weekend
> I'll get another chance to cut some code. I'm thinking of changing
> strtok -> strtok_r in the parser.
>
&
So, I did some more today, courtesy of ANZAC day. Hopefully next weekend
I'll get another chance to cut some code. I'm thinking of changing
strtok -> strtok_r in the parser.
How portable is strtok_r ? Specifically is it available on mingw, BSD
systems ?
Rob
--
GPG key availa