vasilito 77bf7d6b66 syscall: add SYS_CLOCK_SETTIME (266) for clock_settime impl
Add the SYS_CLOCK_SETTIME constant to the syscall number definitions.
The next number after SYS_CLOCK_GETTIME (265) is 266, which becomes
the kernel-side number for the new clock_settime syscall.

This is paired with a relibc platform/redox/mod.rs change that
replaces the clock_settime ENOSYS stub with a real sc::syscall2
implementation.

The kernel-side handler needs to be added in the Redox kernel
(repo at /tmp or via kernel source); the userspace side is now
ready.
2026-07-27 10:39:21 +09:00
2016-11-02 19:31:24 -06:00
2026-05-27 13:02:46 +07:00
2017-04-07 17:21:32 -07:00
2025-07-31 01:15:13 -03:00

syscall

This crate contains the system call numbers and Rust wrappers for the inline Assembly code of system calls.

MIT licensed crates.io docs.rs

S
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Readme MIT 18 GiB
Languages
C 37.5%
C++ 37.2%
JavaScript 6.7%
QML 3.4%
HTML 3.2%
Other 11.4%