Timothy Flynn
dceed08058
AK+LibCore: Avoid double-negation of syscall error values
...
This is a remnant from SerenityOS. Let's avoid confusion as to why we
negate errno when we call Error::from_syscall just to negate it again
when we store the error code.
2025-05-10 21:19:46 -04:00
Timothy Flynn
24ac5e2eee
AK+LibCore: Remove SerenityOS handling from Error and Core::System
...
This is just to make some syscall error handling changes simpler.
2025-05-10 21:19:46 -04:00
stasoid
2abc792938
LibCore: Implement System::set_close_on_exec
2025-03-19 20:25:24 -06:00
stasoid
a291a7f770
LibCore: Add System::sleep_ms
2025-02-06 15:16:50 -07:00
stasoid
b77016cc34
LibCore: Consistently treat file descriptors as handles on Windows
...
Also:
* implement dup and is_socket
* implement and call init_crt_and_wsa
2025-02-05 19:27:47 -07:00
stasoid
212cea4535
LibCore: Add System::getpid
2024-12-17 11:07:53 +01:00
Andrew Kaster
0075048206
LibCore: Remove SessionManagement utilities
...
We don't need these, they are only relevant for SerenityOS system
builds of LibCore.
2024-11-26 11:00:48 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00