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