Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 17 Jun 2012 22:38:03 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Is strsep() portable enough?

On 2012-06-17 22:11, Frank Dittrich wrote:
> Hi all,
>
> currently parsing of --markov=... options is done with strtok().
> I'd prefer using strsep(), to allow something like
> ...
> But I am not sure whether strsep() is portable enough.
> Any opinions?

The man page states it's not standard and a google search for "strsep 
not available" indicates it's not there on Solaris, for a starter. I'm 
not sure but I suppose that means you should not use it.

magnum

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.