Davide Angelocola <[EMAIL PROTECTED]> writes:
> On Wednesday 06 September 2006 08:20, Sergey Poznyakoff wrote:
>> In mailutils, we use the function argcv_get:
>>
>> int argcv_get (const char *string, const char *delim, const char *cmnt,
>>int *argc, char ***argv);
>>
>> which break
On Wednesday 06 September 2006 08:20, Sergey Poznyakoff wrote:
> In mailutils, we use the function argcv_get:
>
> int argcv_get (const char *string, const char *delim, const char *cmnt,
>int *argc, char ***argv);
>
> which breaks the `string' according to the delimiters in `delim',
On Wednesday 06 September 2006 06:24, you wrote:
> It is not clear, will this split do something like
> like creating an *argv[] list which has a NULL
> pointer as the last element in the array?
exactly
> Hmmm... is argc guarenteed to be positive? If not,
> what does a negative argc mean? If so, w
In mailutils, we use the function argcv_get:
int argcv_get (const char *string, const char *delim, const char *cmnt,
int *argc, char ***argv);
which breaks the `string' according to the delimiters in `delim',
eventually ignoring anything after the comment starter `cmnt'. It fills
Hello Davide,
* Davide Angelocola wrote on Tue, Sep 05, 2006 at 10:51:37PM CEST:
> On Tuesday 05 September 2006 22:01, Ben Pfaff wrote:
> > Davide Angelocola <[EMAIL PROTECTED]> writes:
> > > char *split(const char *str, char sep, int *argc);
> >
> > What does it do?
> split() splits the string
Davide Angelocola <[EMAIL PROTECTED]> writes:
> On Tuesday 05 September 2006 22:01, Ben Pfaff wrote:
>> Davide Angelocola <[EMAIL PROTECTED]> writes:
>> > I'm proposing another new module for gnulib: split.
>> >
>> > The function signature is:
>> > char *split(const char *str, char sep, int *arg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Davide Angelocola <[EMAIL PROTECTED]> writes:
> On Tuesday 05 September 2006 22:01, Ben Pfaff wrote:
> > Davide Angelocola <[EMAIL PROTECTED]> writes:
> > > I'm proposing another new module for gnulib: split.
> > >
> > > The function signature is:
> >
On Tuesday 05 September 2006 22:01, Ben Pfaff wrote:
> Davide Angelocola <[EMAIL PROTECTED]> writes:
> > I'm proposing another new module for gnulib: split.
> >
> > The function signature is:
> > char *split(const char *str, char sep, int *argc);
> >
> > what do you think about?
>
> What does it
Davide Angelocola <[EMAIL PROTECTED]> writes:
> I'm proposing another new module for gnulib: split.
>
> The function signature is:
> char *split(const char *str, char sep, int *argc);
>
> what do you think about?
What does it do?
--
"Sanity is not statistical."
--George Orwell