Added a test for tmpfile()
Added dummy implementations for pthread_attr_getstacksize() and pthread_attr_setstacksize()