summaryrefslogblamecommitdiff
path: root/libgcompat/utmp.c
blob: c2bdd913dd998028f92d94114ed207b8c290cc47 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                         
#include <stddef.h> /* NULL */
#include <utmp.h>   /* struct utmp */

/**
 * Get user accounting database entries.
 *
 * LSB 5.0: LSB-Core-generic/baselib-getutent-r-3.html
 */
int getutent_r(struct utmp *buffer, struct utmp **result)
{
	/* musl does not implement getutent(). */
	*result = NULL;
	return -1;
}