Usermode - POSIX and C conformance changes
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / utmpx.c
1 /*
2  * Acess2 POSIX Emulation
3  * - By John Hodge (thePowersGang)
4  *
5  * utmpx.c
6  * - User login records
7  */
8 #include <stddef.h>
9 #include <utmpx.h>
10
11 /*
12  * Rewind UTMPX file pointer
13  */
14 void setutxent(void)
15 {
16 }
17
18 /*
19  * Close UTMPX file
20  */
21 void endutxent(void)
22 {
23 }
24
25 /*
26  * Read from current position in UTMPX file
27  */
28 struct utmpx *getutxent(void)
29 {
30         return NULL;
31 }
32
33 /*
34  * Locate an entry in the UTMPX file for a given id
35  */
36 struct utmpx *getutxid(const struct utmpx *utmpx __attribute__((unused)))
37 {
38         return NULL;
39 }
40
41 struct utmpx *getutxline(const struct utmpx *utmpx __attribute__((unused)))
42 {
43         utmpx = NULL;
44         return NULL;
45 }
46
47 struct utmpx *pututxline(const struct utmpx *utmpx __attribute__((unused)))
48 {
49         utmpx = NULL;
50         return NULL;
51 }
52

UCC git Repository :: git.ucc.asn.au