Eryk Wieliczko <[email protected]> writes:

> +int CDECL MSVCRT_strncat_s( char* dst, MSVCRT_size_t elem, const char* src, 
> MSVCRT_size_t count )
> +{
> +    MSVCRT_size_t i, j;
> +    if(!dst) return MSVCRT_EINVAL;
> +    if(elem == 0) return MSVCRT_EINVAL;
> +    if(!src)
> +    {
> +        dst[0] = '\0';
> +        return MSVCRT_EINVAL;
> +    }

Again, you should be using the parameter checking macros.

-- 
Alexandre Julliard
[email protected]


Reply via email to