Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 20:40:29 +0200
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r213002 - in stable/8: include lib/libc/gen
Message-ID:  <20100922184029.GB20824@britannica.bec.de>
In-Reply-To: <1285180346.65489.3.camel@buffy.york.ac.uk>
References:  <201009221800.o8MI0Ze3038214@svn.freebsd.org> <1285180346.65489.3.camel@buffy.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, Sep 22, 2010 at 07:32:25PM +0100, Gavin Atkinson wrote:
> Ours (just introduced):
> 
>     char * basename_r(path, bname)
> 
> Android (from [1]):
> 
>     int    basename_r(const char* path, char*  buffer, size_t  bufflen)
> 
> The semantics seem very different.  Ours allocates a buffer, on Android
> you pass in a buffer, for a start.

...and the Android interface is what most *_r functions expose.

Joerg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100922184029.GB20824>