Skip to content

Commit 2b1c3e7

Browse files
committed
fixup! libc: add dummies for utmp(x) handling
Add getutxent(), setutxent(), endutxent(), and utmpxname() dummy implementations. Fixes genodelabs#5526
1 parent bdaa6b8 commit 2b1c3e7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

repos/libports/lib/symbols/libc

+1
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,7 @@ user_from_uid T
882882
usleep W
883883
utime W
884884
utimes W
885+
utmpxname T
885886
vasprintf T
886887
vdprintf T
887888
verr T

repos/libports/src/lib/libc/dummies.cc

+1
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ struct utmpx *getutxent(void)
237237

238238
DUMMY(void, , setutxent, (void));
239239
DUMMY(void, , endutxent, (void));
240+
DUMMY(int, -1, utmpxname, (const char *));
240241

241242

242243

0 commit comments

Comments
 (0)