Commit Graph

1114 Commits

Author SHA1 Message Date
Wildan M baee8f2851 Add constants to complement ifaddrs.h 2025-12-31 16:03:03 +07:00
Jeremy Soller 806b3657f1 Merge branch 'setlocale-c' into 'master'
Fix setlocale with "C"

See merge request redox-os/relibc!845
2025-12-30 16:38:14 -07:00
auronandace 6696d26eb4 locale fnmatch dirent and ctype header cleanup 2025-12-30 20:57:47 +00:00
Wildan M 9734bdbde6 Fix setlocale with "C" 2025-12-31 02:29:55 +07:00
Jeremy Soller 0e506e97af Merge branch 'locale-h' into 'master'
Implement more locale.h functions

See merge request redox-os/relibc!840
2025-12-29 10:00:44 -07:00
Jeremy Soller 15d82a9086 Merge branch 'master' into 'master'
fix(dl-tls): TLS overallocation

See merge request redox-os/relibc!843
2025-12-29 06:57:57 -07:00
Anhad Singh 75f6b9d64e fix(dl-tls): TLS overallocation
* `offset` is the offset in TLS to copy initial data to NOT the segment
  size
* Only zero the region which is required to be zeroed

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-29 17:13:23 +11:00
Wildan M 8867ba80df Remove bits/stdlib 2025-12-28 19:43:54 +07:00
Wildan M e67933ef1b Use POSIX localedef format 2025-12-28 03:24:20 +07:00
Wildan M a5035d68e3 Implement more locale.h functions 2025-12-27 22:24:41 +07:00
Jeremy Soller bb3cadfca4 Merge branch 'reduce-warn-2' into 'master'
Reduce cbindgen warning from errno.h

See merge request redox-os/relibc!838
2025-12-25 05:56:43 -07:00
Wildan M 8f97d2298a Reduce cbindgen warning from errno.h 2025-12-25 16:50:26 +07:00
Wildan M 08485648f6 Convert strtold to Rust 2025-12-25 16:11:36 +07:00
Jeremy Soller fbf280c3d7 Fix padding of infinite float 2025-12-24 20:32:54 -07:00
Jeremy Soller f3afff08de Adjust ftell for write buffer 2025-12-24 20:13:13 -07:00
auronandace 98d90ac580 revert previous 2 changes and add Safety note 2025-12-24 14:32:08 +00:00
auronandace d4d82843de fix type 2025-12-24 12:56:30 +00:00
auronandace 16f1f71acb ensure internal memcpy does not copy past src or dest len 2025-12-24 12:42:28 +00:00
auronandace 4e744c3f55 only import the needed types 2025-12-24 11:05:12 +00:00
auronandace 96da8e5ed4 fix memccpy, copy correct amount of bytes and still copy if c not found 2025-12-24 11:02:15 +00:00
auronandace 6dd3a38f30 mark getpwnam as unsafe 2025-12-23 09:28:10 +00:00
auronandace 4786080073 only import needed types in syslog 2025-12-23 09:23:46 +00:00
auronandace 321b65d7e1 Update and add spec links, correct typo 2025-12-23 09:21:28 +00:00
auronandace 8414205d04 only import the needed types 2025-12-22 17:47:29 +00:00
auronandace 8deb1f32c3 mark two functions unsafe 2025-12-22 17:40:51 +00:00
auronandace 4102e1b47d only import needed types 2025-12-22 10:16:15 +00:00
auronandace 5d4b6bc2ee update and add spec links for glob and setjmp 2025-12-22 10:12:50 +00:00
Jeremy Soller 99e8cd93e0 Merge branch 'drm10' into 'master'
Add drm MODE_GET_PROPERTY, MODE_SET_PROPERTY and MODE_GET_PROP_BLOB

See merge request redox-os/relibc!831
2025-12-21 13:34:05 -07:00
bjorn3 a710decf1b Add drm MODE_GET_PROPERTY, MODE_SET_PROPERTY and MODE_GET_PROP_BLOB 2025-12-21 20:38:53 +01:00
auronandace fa15f44f58 update and add spec links for monetary 2025-12-21 17:13:08 +00:00
bjorn3 b69c6a2e11 Add drm MODE_ADD_FB and MODE_RM_FB 2025-12-20 22:10:39 +01:00
Jeremy Soller 0d75833b93 Merge branch 'os-test-linux' into 'master'
Fix various os-test issues when using relibc on Linux

See merge request redox-os/relibc!824
2025-12-19 13:57:43 -07:00
Jeremy Soller c489dee545 Add TIOCGSID definition for Redox 2025-12-19 13:38:20 -07:00
Jeremy Soller e4bc87f97d Update tcgetsid link 2025-12-19 13:27:00 -07:00
Jeremy Soller b1c9847b97 Include sys/stat.h and unistd.h in fcntl.h, remove bits/fcntl.h 2025-12-19 13:01:45 -07:00
Jeremy Soller c45d06e747 Add locale_t 2025-12-19 12:55:55 -07:00
Jeremy Soller 3765148270 Fix incompatible functions 2025-12-19 12:55:43 -07:00
Jeremy Soller 84c3ba910c Implement tcgetwinsize and fix tcsetwinsize 2025-12-19 12:27:10 -07:00
Jeremy Soller 593e4bf416 Include sys/types.h in termios.h 2025-12-19 12:22:27 -07:00
Jeremy Soller 7301eff5ba Stub ifaddrs.h 2025-12-19 12:18:21 -07:00
Jeremy Soller 1bbdcc1202 Implement fwscanf and similar 2025-12-19 12:12:16 -07:00
Jeremy Soller 302f4ab2d1 Add AT_EACCESS and AT_SYMLINK_FOLLOW for Linux 2025-12-19 11:59:51 -07:00
Jeremy Soller 09f0e57f1b Fix dladdr definition 2025-12-19 11:55:34 -07:00
Jeremy Soller 0405048890 Format limits and sysconf 2025-12-19 11:46:38 -07:00
Jeremy Soller b707c37883 Implement tcgetsid using ioctl 2025-12-19 10:32:56 -07:00
Jeremy Soller 7e987b67bc Add more limits and expose them through sysconf 2025-12-19 10:18:15 -07:00
Jeremy Soller 6617f6afda Define F_OFD fcntl commands 2025-12-19 09:23:33 -07:00
Jeremy Soller c1d3ff3d53 Add POSIX limits 2025-12-19 09:15:45 -07:00
Jeremy Soller 4daa52a6bd Implement _Fork, which is fork without pthread_atfork hooks 2025-12-19 08:49:53 -07:00
auronandace c5c4d9e10c only import the needed types 2025-12-19 15:41:56 +00:00