summaryrefslogtreecommitdiff
path: root/libgcompat/utmp.c
blob: d044fd2195160660d15a5330b41c4612e89b2a11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stddef.h> /* NULL */
#include <utmpx.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;
}