Jeremy Soller
0ee34fe836
Merge branch 'master' into sprintf
2018-03-10 06:46:17 -07:00
Alex Lyon
cfc1014c6e
string: fix a couple minor issues in strncmp()
2018-03-09 20:54:42 -08:00
Alex Lyon
50f79e9a0e
string: address performance concerns for strncmp()
2018-03-09 20:54:42 -08:00
Dan Robertson
75920d2c12
Add implementations of sprintf and snprintf
...
Add implementations of sprintf and snprintf so that we can get a bit
closer to compiling libc-test.
2018-03-10 02:33:03 +00:00
Paul
7108d0164e
Merge branch 'master' into time
2018-03-09 08:37:40 -08:00
Dan Robertson
c2ae141df3
Aarch64: Merge the final components
...
Merge the final components for Aarch64 support into master.
2018-03-09 14:20:42 +00:00
Paul
031fc5da27
Update Makefile
2018-03-09 05:58:55 -08:00
Paul
5632d96016
Merge branch 'master' into time
2018-03-09 05:52:29 -08:00
Paul
4d12c408fd
Merge branch 'master' into time
2018-03-09 05:49:37 -08:00
Paul
cdf298ba3a
Merge branch 'master' into unistd
2018-03-09 05:48:22 -08:00
Paul Sajna
4d4ab1a75f
fix and test
2018-03-09 05:18:21 -08:00
Paul Sajna
161d93466c
fixes and tests
2018-03-09 04:48:34 -08:00
Alex Lyon
dec7ecd06b
tests: fix Makefile
2018-03-09 03:37:30 -08:00
Alex Lyon
f5b1f872a0
stdlib: implement preliminary version of strtol()
2018-03-09 03:07:16 -08:00
Jeremy Soller
54655a4e3b
Add verification makefile rule
2018-03-08 21:22:17 -07:00
Jeremy Soller
85766a41ff
Expected output
2018-03-08 21:14:46 -07:00
Jeremy Soller
4da873ae79
Merge pull request #43 from MggMuggins/master
...
Imp va_arg for fcntl; fcntl test
2018-03-08 21:07:39 -07:00
Jeremy Soller
a95a034219
Fix issues by adding support for floating point values in va_list
2018-03-08 20:54:46 -07:00
Jeremy Soller
0e766c6b53
Implement atof
2018-03-08 20:17:45 -07:00
Jeremy Soller
96358469a4
Merge branch 'master' into master
2018-03-08 20:17:08 -07:00
MggMuggins
c291632492
Imp va_arg for fcntl; fcntl test
2018-03-08 20:56:50 -06:00
Paul Sajna
799c8828c2
mkdir and rmdir
2018-03-08 19:45:16 -07:00
Jeremy Soller
231d7a023a
Merge pull request #42 from dlrobertson/use_va_list
...
fcntl: open should use a va_list
2018-03-08 19:32:34 -07:00
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
SamwiseFilmore
46fe488e05
Merge branch 'master' into master
2018-03-08 18:31:14 -06:00
MggMuggins
6ced871d9a
ctype: tests and reorganize
...
Wrote tests for the functions implemented in 40558b2 and maybe made that
test a little more comprehensible.
Also made sure that fmt.sh and test.sh were being executed by bash all
the time (compatibility with other shells).
2018-03-08 18:25:11 -06: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