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
Peter Limkilde Svendsen
b3f36faf87
Add pvalloc()
2025-02-11 21:13:51 +01:00
Guillaume Gielly
770e768818
Implement 'langinfo.h'
2025-01-05 18:20:42 +01:00
Guillaume Gielly
610909bd2b
Implement 'monetary.h', including initial structure and strfmon() function
2024-12-23 21:32:56 +01:00
Jeremy Soller
a4ba9cf0ad
Merge branch 'relibc' into 'master'
...
Implement 'tar.h'
See merge request redox-os/relibc!588
2024-12-20 14:27:31 +00:00
gugz0r
a4cd089189
Implement 'tar.h'
2024-12-18 22:11:33 +01:00
bitstr0m
ce7e553ae9
Implement cpio.h
2024-12-17 10:38:43 +00:00
bitstr0m
5d6ae507e1
Implement glob.h
2024-12-12 15:17:16 +00:00
Peter Limkilde Svendsen
5045d40fa2
Add TODOs for remaining POSIX headers
2024-11-26 22:02:42 +01:00
Peter Limkilde Svendsen
76f36f09df
Add docs for sys/timeb.h, require unsafe blocks
2024-10-31 12:04:48 +00:00
Peter Limkilde Svendsen
2e5c1f7b72
Add utime.h docs, use unsafe blocks
2024-10-29 23:01:21 +00:00
Peter Limkilde Svendsen
06fec0b843
Add various basic docstrings
2024-10-27 23:25:57 +01:00