added access() to reent.h