user: implement mlibc as the libc, finally.

It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
kaguya
2026-05-02 03:31:49 -04:00
parent 2fa39ad85a
commit 9a9b91c940
2387 changed files with 152741 additions and 315 deletions
@@ -0,0 +1,25 @@
#ifndef _ABIBITS_UTMP_DEFINES_H
#define _ABIBITS_UTMP_DEFINES_H
#include <mlibc-config.h>
#define EMPTY 0
#define RUN_LVL 1
#define BOOT_TIME 2
#define NEW_TIME 3
#define OLD_TIME 4
#define INIT_PROCESS 5
#define LOGIN_PROCESS 6
#define USER_PROCESS 7
#define DEAD_PROCESS 8
#ifdef _GNU_SOURCE
#define ACCOUNTING 9
#endif
#if __MLIBC_LINUX_OPTION
#define UTMP_FILE "/var/run/utmp"
#define WTMP_FILE "/var/log/wtmp"
#endif /* __MLIBC_LINUX_OPTION */
#endif /* _ABIBITS_UTMP_DEFINES_H */