Dan Robertson
e306e3f855
fcntl: open should use a va_list
...
The current implementation of open requires the user to pass all three
args to the function. It should use a va_list and allow a user to
provide only the filename and flags.
2018-03-09 02:24:25 +00:00
Jeremy Soller
07c3ce02be
Fix build
2018-03-08 15:52:48 -07:00
Jeremy Soller
4198055d4a
Fix tests
2018-03-08 15:43:17 -07:00
Jeremy Soller
cfbe27490f
Remove allocation, fix pipe example
2018-03-08 15:00:17 -07:00
Jeremy Soller
0bcabc2163
Merge remote-tracking branch 'sajattack/unistd'
2018-03-08 14:53:07 -07:00
Paul Sajna
12833a5a5c
add test and fork
2018-03-08 12:25:14 -08:00
Paul Sajna
6304595a1d
Merge branch 'master' of github.com:redox-os/relibc
2018-03-08 11:07:51 -08:00
Dan Robertson
ec288a1b53
Add ctype functions and atoi/atol
...
Add ctype functions
- isalnum
- isalpha
- isascii
- isdigit
- islower
- isspace
- isupper
Add stdlib functions
- atoi
- atol
Fix some warnings
Make a fmt run
2018-03-08 05:26:40 +00:00
Paul Sajna
3b7149612f
implement perror
2018-03-07 20:57:51 -08:00
Jeremy Soller
1127c36ceb
Add strerror to error test
2018-03-07 21:01:48 -07:00
Jeremy Soller
85b80d0fe5
Fix errno.h, add -no-pie to tests Makefile
2018-03-07 20:31:18 -07:00
Jeremy Soller
851e4d399f
Fix errno.h definition
2018-03-07 19:46:23 -07:00
Paul Sajna
93ddcca294
add test for errno
2018-03-07 18:36:18 -08:00
Jeremy Soller
b14ee3ed39
Fix build, add Wall
2018-03-06 21:23:36 -07:00
Paul Sajna
151d873aba
link
2018-03-04 22:34:47 -08:00
Paul Sajna
3a07bc27c2
getid functions
2018-03-04 22:11:59 -08:00
Paul Sajna
2636b6f5b1
ftruncate test
2018-03-04 16:41:53 -08:00
Paul Sajna
5cc52e4b19
tests
2018-03-04 16:34:46 -08:00
Jeremy Soller
07c897e558
Clean up gcc line
2018-03-04 08:29:19 -07:00
Jeremy Soller
18c6701841
Disable stack protector
2018-03-04 08:27:20 -07:00
Jeremy Soller
64b2970cf4
make it possible to printf to any fmt::Write implementer
2018-03-03 19:57:18 -07:00
Jeremy Soller
5520526bef
Implement printf (very simple version)
2018-03-03 19:47:01 -07:00
Jeremy Soller
bf987098dc
Use openlibm
2018-03-03 17:56:53 -07:00
Jeremy Soller
172517e4f8
Add all stdlib functions
2018-03-03 17:44:09 -07:00
Jeremy Soller
f5ef0af883
Implement malloc/free with ralloc
2018-03-03 16:54:58 -07:00
Jeremy Soller
2aff4d41dd
Implement argument handling, add string.h
2018-03-03 14:55:54 -07:00
Jeremy Soller
78e421cb72
Implement some functions on Linux
2018-03-03 14:31:28 -07:00
Jeremy Soller
a9aae80ae0
WIP: Define common types
2018-03-03 10:08:16 -07:00