Added Solaris definitions for various stdlib-defined functions
Fix return type on mkstemp
Merge pull request #897 from jasonbking/stdlib

Fix 13146 - Add missing function definitions from stdlib.h on Solaris