André Hentschel <nerv at dawncrow.de> writes:
> +int CDECL MSVCRT_tmpfile_s(MSVCRT_FILE** file)
> +{
> + if (!file) {
> + *MSVCRT__errno() = MSVCRT_EINVAL;
> + return MSVCRT_EINVAL;
> + }
That's not the right way to check parameters in _s functions.
--
Alexandre Julliard
julliard at winehq.org