extern int getutent_r(struct utmp *__buffer, struct utmp **__result);
The getutent_r() function is a reentrant version of the getutent utmp file handler.