Alexander van der Grinten
b972ba7eeb
options/ansi: Add POSIX timezone variables
2020-04-19 19:41:02 +02:00
Kacper Słomiński
caf72bebd0
options/ansi: implement nanosleep
...
This implementation does not follow the standard fully. It ignores the
second argument and does not store the time left there on signals.
2019-08-14 20:41:00 +02:00
Alexander van der Grinten
235686ad72
options/ansi: Fix tzh_timecnt == 0 case in tzinfo
...
This bug was reported in managarm/managarm#80 .
2019-05-17 20:29:36 +02:00
Alexander van der Grinten
0a7b9b244f
options/ansi: Implement gmtime() and gmtime_r()
2019-04-01 19:12:36 +02:00
Alexander van der Grinten
7c120b1fb8
options/ansi: Work around systems without mmap()
2019-02-28 18:30:16 +01:00
Alexander van der Grinten
d9d6ac5bea
internal: Report sysdeps errors in return value
...
Before this patch, sysdeps functions reported their errors in errno.
Now, the error is reported in the return value and updating errno is
done by the wrapper function that calls into sysdeps.
This approach has the advantage that mlibc can call sysdeps without
having to worry about clobbering errno. Previously, annoying
errno save/restore boilerplate would have been necessary.
Fixes #3 .
2018-12-24 19:49:48 +01:00
Alexander van der Grinten
a10cd906f3
options/ansi: Add lots of missing wchar functions
2018-12-15 11:09:44 +01:00
Alexander van der Grinten
b6265bcc5c
libc: Replace frigg loggers by frg loggers
2018-10-16 18:38:10 +02:00
Andreas Hampicke
307793e831
libc: Fix headers for ncurses and nano
2018-06-03 18:36:19 +02:00
Andreas Hampicke
de99a8acc7
libc: Add stubs for coreutils
2018-05-17 16:21:47 +02:00
Alexander van der Grinten
1becdecacf
options/ansi: A few localtime() fixes
2018-04-29 18:04:58 +02:00
Andreas Hampicke
baeba0a61c
libc: Implement tzinfo parser
2018-04-29 15:56:16 +02:00
Alexander van der Grinten
64ca9007e2
options/posix: Fix a few functions for bash
2018-04-08 14:43:37 +02:00
Andreas Hampicke
8b0c7b74e9
libc: Add 2 digit support to strftime()
2018-03-04 17:12:01 +01:00
Alexander van der Grinten
fd03568ef5
options/ansi: Fix time-stubs.cpp
2018-03-04 17:03:33 +01:00
Andreas Hampicke
0a08f4e885
libc: Add real functionality to localtime_r()
2018-03-04 16:52:58 +01:00
Andreas Hampicke
a7059a932d
libc: Add complete functionality to strftime()
2018-03-04 14:46:56 +01:00
Alexander van der Grinten
d71e2b026f
options/ansi: Implement some timekeeping functions
2018-02-21 22:30:30 +01:00
Alexander van der Grinten
18c5789dee
libc: Implement more stubs for weston
2018-02-18 16:52:10 +01:00
Alexander van der Grinten
21cc551dfd
libc: Fill in a few stubs for weston
2018-02-18 16:52:10 +01:00
Andreas Hampicke
a436ca94cc
libc: Add sysdeps API for fork, execve
2018-02-04 14:36:45 +01:00
Andreas Hampicke
e5acf458f2
libc: Add sysdeps API for exit and time
2018-01-28 13:43:47 +01:00
Andreas Hampicke
291a9c0d54
mlibc: Update include directives
2018-01-24 21:29:25 +01:00
Andreas Hampicke
9be4673aed
mlibc: Refactor directory structure
2018-01-21 19:51:23 +01:00