remove unused __brk function/source file
[musl.git] / src / legacy / utmpx.c
blobe2843c94af41271e482732fa31a4f9e8d6c363d5
1 #include <utmpx.h>
2 #include <stddef.h>
3 #include <errno.h>
4 #include "libc.h"
6 void endutxent(void)
10 void setutxent(void)
14 struct utmpx *getutxent(void)
16 return NULL;
19 struct utmpx *getutxid(const struct utmpx *ut)
21 return NULL;
24 struct utmpx *getutxline(const struct utmpx *ut)
26 return NULL;
29 struct utmpx *pututxline(const struct utmpx *ut)
31 return NULL;
34 void updwtmpx(const char *f, const struct utmpx *u)
38 int __utmpxname(const char *f)
40 errno = ENOTSUP;
41 return -1;
44 weak_alias(endutxent, endutent);
45 weak_alias(setutxent, setutent);
46 weak_alias(getutxent, getutent);
47 weak_alias(getutxid, getutid);
48 weak_alias(getutxline, getutline);
49 weak_alias(pututxline, pututline);
50 weak_alias(updwtmpx, updwtmp);
51 weak_alias(__utmpxname, utmpname);
52 weak_alias(__utmpxname, utmpxname);