It's logical to me.

If the tool chain has a strndup, use it.  If it doesn't, here it is.

There won't be a namespace clash if the function doesn't exist.

On 5/20/2014 8:14 AM, Michael Wojcik wrote:
External symbols beginning with "str" are reserved to the library by
the C standard (ISO 9899-1999 et seq). It's a violation of the
standard to define them outside the implementation. You should use
function names in the user namespace and if necessary use value-style
macros to replace the reserved names elsewhere in the source.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to