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