On Thu, Apr 17, 2014 at 05:49:22PM +0200, FRIGN wrote:
> On Thu, 17 Apr 2014 17:42:30 +0200
> [email protected] wrote:
> 
> > +static void
> > +streplace(char *s, int a, int b)
> > +{
> > + (...)
> > +}
> 
> Why int and not char (or w_char)?

No real reason other than to maintain consistency with other libc functions.

I'd probably name it wstreplace() if it were to receive wchar_t.

Reply via email to