[Nagiosplug-devel] tip for plugin development and temp files
wferi at niif.hu
Wed Dec 28 14:22:01 CET 2011
Matthieu Fournet <fournet.matthieu at gmail.com> writes:
> I'd like to add my 10 cents to the plugins developer guidelines (at section
> "3.3. Don't make temp files unless absolutely required",
> regarding the use of temporary files.
> So my advice would be to name temp files like :
Libc provides the mkstemp() family and tmpfile() for this purpose. I
think you'd be better off using those instead of inventing own methods.
More information about the Devel