I’m using tempnam() only to get the directory name, so this security warning does not apply to my case. How can I disable it? I couldn’t find any switches to do it.
I’m using tempnam() only to get the directory name, so this security warning does
Share
If you really only want the directory name, use the string constant macro
P_tmpdir, defined in<stdio.h>.