powerpc-sf longjmp clobbering of val argument
[musl.git] / src / legacy / utmpx.c
blob7aa65da335b5efe45fe8a3416318792e6c5dae0c
1 #define _GNU_SOURCE
2 #include <utmpx.h>
3 #include <stddef.h>
4 #include <errno.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 static 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);