why strndup and not estrndup?