46ca4b8b5729df1f2609995688a090dd242a8d93
[musl] / src / legacy / utmpx.c
1 #include <utmpx.h>
2 #include <stddef.h>
3 #include "libc.h"
4
5 void endutxent(void)
6 {
7 }
8
9 void setutxent(void)
10 {
11 }
12
13 struct utmpx *getutxent(void)
14 {
15         return NULL;
16 }
17
18 struct utmpx *getutxid(const struct utmpx *ut)
19 {
20         return NULL;
21 }
22
23 struct utmpx *getutxline(const struct utmpx *ut)
24 {
25         return NULL;
26 }
27
28 struct utmpx *pututxline(const struct utmpx *ut)
29 {
30         return NULL;
31 }
32
33 void updwtmpx(const char *f, const struct utmpx *u)
34 {
35 }
36
37 int __utmpxname(const char *f)
38 {
39         return -1;
40 }
41
42 weak_alias(endutxent, endutent);
43 weak_alias(setutxent, setutent);
44 weak_alias(getutxent, getutent);
45 weak_alias(getutxid, getutid);
46 weak_alias(getutxline, getutline);
47 weak_alias(pututxline, pututline);
48 weak_alias(updwtmpx, updwtmp);
49 weak_alias(__utmpxname, utmpname);
50 weak_alias(__utmpxname, utmpxname);