svn commit: r213002 - in stable/8: include lib/libc/gen

Joerg Sonnenberger joerg at britannica.bec.de
Wed Sep 22 18:56:57 UTC 2010


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


More information about the svn-src-all mailing list