4lDO2
b455e2e374
Misc improvements, move barrier to safe module.
2023-05-06 17:02:51 +02:00
4lDO2
316203102a
Implement pthread_cleanup_{push,pop}.
2023-05-06 17:02:51 +02:00
4lDO2
bd6cc20a75
Make pthread types opaque, and check against libc.
2023-05-06 17:02:51 +02:00
4lDO2
f0d8b6fd31
Specify the type in pthread initializers as well.
...
Otherwise it would be possible to do e.g.
`pthread_mutex_t mutex = PTHREAD_ONCE_INITIALIZER;```,
which would expand to
```pthread_mutex_t mutex = {0};```.
2023-05-06 17:02:51 +02:00
4lDO2
b9f19f4326
Get pcid to work using this pthread impl.
2023-05-06 17:02:51 +02:00
4lDO2
6a658bc33d
Add needed functions for acid to link.
2023-05-06 17:02:51 +02:00
4lDO2
2593101ea7
Get it to compile
2023-05-06 17:02:50 +02:00
4lDO2
558d43082c
WIP: Expand native pthreads implementation.
2023-05-06 17:02:50 +02:00
4lDO2
5b56d6305d
Remove pthreads-emb, add custom sched.h
2023-05-06 17:02:50 +02:00
David Carlier
c2b00e8c6b
termios adding cfsetspeed bsd extension which set both __c_ispeed/__c_ospeed fields
2023-05-05 16:56:23 +01:00
Jeremy Soller
5980327865
Merge branch 'signal_impl2' into 'master'
...
signal add fewer more implementations
See merge request redox-os/relibc!378
2023-05-04 21:39:13 +00:00
Jeremy Soller
68b2859892
Merge branch 'setsid__impl' into 'master'
...
setsid implementation
See merge request redox-os/relibc!381
2023-05-04 21:38:40 +00:00
Jeremy Soller
8cba3451fd
Merge branch 'cfmakeraw__impl' into 'master'
...
cfmakeraw implementation proposal
See merge request redox-os/relibc!382
2023-05-04 21:38:03 +00:00
Ron Williams
efeca2f909
Add no-op tzset, plus required static vars
2023-05-04 13:12:04 -07:00
David Carlier
c88279f204
cfmakeraw implementation proposal
2023-05-04 20:18:14 +01:00
David Carlier
5041df0015
setsid implementation
2023-05-04 19:09:32 +01:00
David Carlier
07cc3614c2
signal add fewer more implementations
2023-04-29 09:01:25 +01:00
David Carlier
eb87e2b796
fix no_mangle annotation missing
2023-04-26 19:42:29 +01:00
Jeremy Soller
30996e353b
Merge branch 'signal_various_impl' into 'master'
...
signal add few missing implementations
See merge request redox-os/relibc!376
2023-04-26 18:28:21 +00:00
Jeremy Soller
8a002ecc1d
Merge branch 'sync_impl' into 'master'
...
sync implementation
See merge request redox-os/relibc!375
2023-04-26 18:24:48 +00:00
David Carlier
c44fda84c4
signal add few missing implementations
2023-04-25 22:16:59 +01:00
David Carlier
a561e682a3
sync implementation
2023-04-22 13:20:18 +01:00
David Carlier
3456b4f30e
unistd: fdatasync implementation.
2023-04-19 21:48:54 +01:00
David Carlier
40b1cec31e
stdlib: unlockpt implementation proposal
2023-04-18 21:24:53 +01:00
Jeremy Soller
1df8a14e6d
Merge branch 'getsetpriority_impl' into 'master'
...
sys_resource: get/setpriority implementations.
See merge request redox-os/relibc!369
2023-04-17 14:35:36 +00:00
Jeremy Soller
bd551a1306
Merge branch 'getsubopt_impl' into 'master'
...
stdlib: getsubopt implementation proposal.
See merge request redox-os/relibc!371
2023-04-17 14:35:07 +00:00
David Carlier
cde60c9f0e
stdlib: getsubopt implementation proposal.
2023-04-16 10:58:46 +01:00
David Carlier
116583cdc7
sys_mman: adding madvise.
2023-04-15 10:41:42 +01:00
David Carlier
7f36abc33c
sys_resource: get/setpriority implementations.
2023-04-15 07:16:25 +01:00
Ron Williams
cbd42c23a4
fix typo in setrlimit
2023-04-14 14:45:16 -07:00
David Carlier
f5ee873961
sys_resource: setrlimit implementation proposal.
2023-04-13 20:59:52 +01:00
David Carlier
66786f619d
unistd: getdtablesize implementation proposal
2023-04-11 20:45:02 +01:00
David Carlier
637dd22d3d
stdio: implements legacy cuserid proposal.
2023-04-05 22:17:09 +01:00
David Carlier
1928cf4fab
sys_mman add further mmap/madvise flags.
2023-04-04 07:09:49 +01:00
David Carlier
53cdd95267
sys/mman.h update addinng mlockall and posix_madvise flags
2023-03-28 18:26:52 +01:00
David Carlier
ec6243bc5b
wctrans/towctrans implementation proposal.
...
close #32
2023-03-27 19:15:08 +01:00
Jeremy Soller
2c3561e888
Merge branch 'reallocarray_impl' into 'master'
...
reallocarray introduction available on glibc 2.26. allocates an array of m*n...
See merge request redox-os/relibc!355
2023-03-26 23:27:10 +00:00
David Carlier
3fe37e36fa
reallocarray introduction available on glibc 2.26. allocates an array of m*n elements but checking for overflow.
2023-03-26 08:35:44 +01:00
David Carlier
66fdebc0cb
adding SOCK_RDM and a couple of POLL* constants.
...
close #164
2023-03-26 08:11:50 +01:00
David Carlier
34f2fff983
strlcpy/strlcat api for portability's sake.
...
those functions differently than the strn* ones as
they do not pad with zero to remaining bytes but guarantees
a null terminator.
2023-03-24 09:44:33 +00:00
David Carlier
63deaec9d8
update inline asm
2023-03-22 06:56:06 +00:00
David Carlier
44f343bec8
explicit_bzero implementation proposal
2023-03-22 06:25:26 +00:00
Jeremy Soller
0646140d99
Remove detailed abort, too many compatibility issues
2023-03-10 11:33:53 -07:00
Jeremy Soller
e7b70fdb93
Ensure assert_fail and abort have noreturn attribute
2023-03-10 11:23:56 -07:00
Jeremy Soller
cc0ac982c4
Implement __fpurge
2023-03-10 08:37:54 -07:00
Jeremy Soller
9c055142cf
Add sys/types.h to utime.h
2023-03-10 07:54:02 -07:00
Jeremy Soller
47bd55451f
Detailed information on abort using macro and new __abort function
2023-03-09 20:19:27 -07:00
Jeremy Soller
04d2f296a9
Fix for epoll on i686 redox
2023-03-03 19:58:05 -07:00
Ian Douglas Scott
ff70567cd6
Fix definition of wcstombs
2023-01-13 21:49:28 -08:00
Jeremy Soller
21efe2d3a1
Clarify localeconv mutability
2022-12-16 20:10:01 -07:00