[PATCH] strdupa, strndupa
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Fri Jun 10 18:39:00 GMT 2011
On Thu, 2011-05-26 at 05:03 -0500, Yaakov (Cygwin/X) wrote:
> The attached patch adds strdupa(3) and strndupa(3):
>
> http://www.kernel.org/doc/man-pages/online/pages/man3/strdup.3.html
>
> These functions must be macros, as they use alloca(3) (or more
> precisely, __builtin_alloca, as they are only available with GCC).
> The code is adapted from our own strdup code.
Ping?
Yaakov
Cygwin/X
More information about the Newlib
mailing list