int getutent_r( struct utmp *buffer, struct utmp **result);
Same at described in getutent(3), but storing information in a user provided buffer.