auronandace
3603161a6f
split out stdio constants for fcntl header
2026-06-04 14:09:38 +01:00
auronandace
d28a131ec5
split out wchar_t from stddef header
2026-06-04 11:17:36 +01:00
auronandace
4f5d535ebc
split out NULL from stddef header
2026-06-02 16:56:12 +01:00
auronandace
3ddd4f56df
split out winsize from sys_ioctl header
2026-05-25 16:57:12 +01:00
Wildan M
bc6ea5ba99
Implement key_t, sys/ipc and sys/shm
2026-05-20 18:51:53 +07:00
auronandace
a7b7e8dd27
move sysexits header from C to Rust
2026-05-19 15:20:49 +01:00
auronandace
430aa6f584
split out useconds_t from sys_types header
2026-05-18 08:38:10 +01:00
auronandace
4dd3c2ea70
split out reclen_t from sys_types header
2026-05-16 16:55:53 +01:00
auronandace
dbe84f1503
split out nlink_t from sys_types header
2026-05-16 07:59:43 +01:00
auronandace
ff923f2b9a
split out dev_t from sys_types header
2026-05-15 20:26:24 +01:00
auronandace
eca687759a
split out blkcnt_t and blksize_t from sys_types header
2026-05-15 13:49:10 +01:00
auronandace
08b6bba666
split out timer_t from sys_types
2026-05-15 07:46:49 +01:00
auronandace
dfd2dd7306
split out ino_t from sys_types header
2026-05-13 15:33:05 +01:00
auronandace
fa6ef5d495
remove sys_types from sys_statvfs header
2026-05-12 16:36:25 +01:00
auronandace
7692c2776c
split out mode_t type from sys_types header
2026-05-12 14:58:50 +01:00
auronandace
4f353e886e
split out clockid_t type from sys_types
2026-05-12 08:30:02 +01:00
auronandace
74ca9e661a
split out id_t from sys_types
2026-05-11 15:20:20 +01:00
auronandace
bd505d3451
split out clock_t from sys_types
2026-05-11 14:03:16 +01:00
Connor-GH
774a9a658d
implement threads.h
...
Most of the functions are wrappers around the pthread.h functions, but
we are not allowed to include pthread.h.
2026-05-10 19:44:34 -05:00
auronandace
a365dbeda4
split out uid_t from sys_types
2026-05-10 16:28:22 +01:00
auronandace
71ab39f9e6
split out gid_t from sys_types
2026-05-09 18:30:35 +01:00
auronandace
5e922ac626
split out pid_t from sys_types
2026-05-09 14:33:10 +01:00
auronandace
8e1881c3cc
split out off_t from sys_types_internal
2026-05-09 07:11:29 +01:00
auronandace
dc28f2faef
split out sizt_t from stddef header
2026-05-08 14:59:27 +01:00
auronandace
ed488b71dc
split out ssize_t from sys_types
2026-05-08 09:49:06 +01:00
auronandace
2dd36566de
split out timeval to reduce namespace pollution
2026-05-04 15:05:30 +01:00
auronandace
1cd9d8769d
split out suseconds_t for namespace pollution reduction preparation
2026-05-04 13:38:33 +01:00
auronandace
8d2bcee829
split out time_t to prepare for reducing namespace pollution
2026-05-03 08:30:35 +01:00
Mustafa öz
03d56f4887
Add fmtmsg
2026-05-01 06:00:11 +01:00
auronandace
6a490be2c6
split out sigset_t from signal header
2026-04-29 12:29:43 +01:00
auronandace
e7f311c2c4
move internal types from C to rust
2026-04-23 11:18:14 +01:00
Wildan M
63f1790b41
Define syscall function for linux
2026-04-20 09:09:42 +07:00
Jeremy Soller
f148ec216a
Merge branch 'rust-cpio' into 'master'
...
move cpio header from C to Rust
See merge request redox-os/relibc!1192
2026-04-14 07:12:58 -06:00
auronandace
1a6659ada1
move cpio header from C to Rust
2026-04-14 10:21:26 +01:00
auronandace
b0c66cf470
split out sa_family_t to a bits header
2026-04-14 08:44:13 +01:00
Wildan M
8f7879fc47
Expose rust math with a feature flag
2026-04-14 06:19:41 +07:00
auronandace
49f96a96e6
rename bits_time to bits_timespec for consistency
2026-04-09 10:50:04 +01:00
auronandace
5d22f7096b
split out iovec from sys_uio header
2026-03-31 11:03:41 +01:00
auronandace
d826d1fdc2
verify netinet_in header includes
2026-03-25 10:50:01 +00:00
auronandace
c5187d18d6
start of rust math header
2026-03-19 10:43:20 +00:00
auronandace
a4079f13f0
verify sched header includes
2026-02-12 17:05:02 +00:00
auronandace
1191d8e1b4
extract timespec to a bits header
2026-02-12 13:07:24 +00:00
auronandace
38a6cd5359
verify arpa_inet includes
2026-02-03 09:11:29 +00:00
Connor-GH
cedd1686ba
string.h: don't pollute the namespace with locale.h
...
Previously, we included all of `<locale.h>` in order to get `locale_t`.
This commit separates it into a `<bits/locale-t.h>` header (generated by
cbindgen) to better deal with this.
2026-01-20 14:29:08 -06:00
Jeremy Soller
7301eff5ba
Stub ifaddrs.h
2025-12-19 12:18:21 -07:00
Wildan M
0636af21a4
Add shadow.h support
2025-09-19 14:04:55 +07:00
Josh Megnauth
cfe00d3316
Add paths.h for Fish
...
Fish only requires BSHELL. The constants are implementation specific so
this header will evolve as needed.
Cbindgen doesn't emit defines for strings (even CStrs) so I only
provided what's needed for Fish in a C header for now with the ideal
implementation, in Rust, unbuilt.
2025-08-09 01:16:12 -04:00
Josh Megnauth
64d9847e37
Linux support for syslog.h
...
Linux's syslog is a local socket, so this uses the recent UDS work.
* Most of redox.rs is refactored into mod.rs now which has all of the C
facing functions and consts.
* I wrapped the global logger in a Mutex instead of a RwLock. The logger
is almost always locked for writing so a Mutex is simpler as RwLock
provides no benefits.
* I implemented LOG_PERROR which also prints errors to stderr as well as
the log.
* Syslog should be sys/syslog.h with syslog.h as an alias (the
original code only had syslog.h).
2025-07-24 21:46:49 -04:00
Bendeguz Pisch
4fc80ea7b0
Implement syslog functionality
2025-07-17 22:49:51 -06:00
Josh Megnauth
a4826bd48c
Implement BSD's err.h
2025-04-18 12:34:45 +00:00