bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module proposal: split


From: Ralf Wildenhues
Subject: Re: new module proposal: split
Date: Wed, 6 Sep 2006 07:21:24 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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 <address@hidden> writes:
> > >   char *split(const char *str, char sep, int *argc);
> >
> > What does it do?
> split() splits the string "str" into an array of strings accordingly "sep" 
> and returns that array and it's size in *argc. The array is allocated via 
> malloc().

If you don't need the enhancements proposed by others, it overlaps a lot
with argz's argz_create_sep.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]