Paul Sajna
22fb6c5bf0
copy strerror implementation into perror
2018-03-08 11:20:13 -08:00
Paul Sajna
6304595a1d
Merge branch 'master' of github.com:redox-os/relibc
2018-03-08 11:07:51 -08:00
Jeremy Soller
8812c2148f
Merge pull request #33 from dlrobertson/stub_wctype
...
Create crate and stubs for wctype
2018-03-08 10:07:14 -07:00
Dan Robertson
a6a16cf233
Create crate and stubs for wctype
...
Create the wctype crate and stub functions with the unimplemented macro.
2018-03-08 16:03:45 +00:00
Jeremy Soller
013dff2aaf
Merge pull request #29 from dlrobertson/add_functions
...
Add ctype functions and atoi/atol
2018-03-08 07:34:14 -07: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
838c364ed5
Merge branch 'unistd'
2018-03-07 20:58:48 -08: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
b7b49d5801
Implement strerror
2018-03-07 21:00:26 -07:00
Paul Sajna
f6db153ea5
Merge branch 'master' of github.com:redox-os/relibc
2018-03-07 19:46:41 -08:00
Jeremy Soller
f01c669771
Remove thread local from errno, for now
2018-03-07 20:37:22 -07:00
Jeremy Soller
85b80d0fe5
Fix errno.h, add -no-pie to tests Makefile
2018-03-07 20:31:18 -07:00
Paul Sajna
95424b3c69
Merge branch 'master' of github.com:redox-os/relibc
2018-03-07 18:47:21 -08:00
Jeremy Soller
851e4d399f
Fix errno.h definition
2018-03-07 19:46:23 -07:00
Paul Sajna
ffd9176cdf
forgot to commit the makefile
2018-03-07 18:45:03 -08:00
Jeremy Soller
633b5474db
Merge pull request #27 from sajattack/master
...
add test for errno
2018-03-07 19:40:46 -07:00
Jeremy Soller
7e725a803e
Merge pull request #26 from Arcterus/master
...
Implement several more string functions and add errno
2018-03-07 19:40:09 -07:00
Paul Sajna
93ddcca294
add test for errno
2018-03-07 18:36:18 -08:00
Alex Lyon
629c20f097
string: ensure resulting string has NUL byte
2018-03-07 17:52:37 -08:00
Alex Lyon
3e1b945e99
Add errno crate and set errno in strndup
2018-03-07 17:38:43 -08:00
Jeremy Soller
89a9e01676
Create README.md
2018-03-07 17:29:54 -07:00
Jeremy Soller
ba515d83df
Create LICENSE
2018-03-07 17:29:33 -07:00
Alex Lyon
ee824f3b19
string: implement strndup and strnlen
2018-03-07 15:59:58 -08:00
Alex Lyon
9f39456dbd
string: implement strcat, strcmp, strcpy, and strdup
2018-03-07 14:06:30 -08:00
Jeremy Soller
3224fa24c8
Merge pull request #23 from Arcterus/master
...
string: implement strncat, strncmp, and strncpy
2018-03-07 06:15:21 -07:00
Alex Lyon
114ee16c21
string: implement strncat, strncmp, and strncpy
2018-03-07 05:04:40 -08:00
Jeremy Soller
1198ad3ae7
Format vsnprintf
2018-03-06 22:02:30 -07:00
Jeremy Soller
ff0cebca87
Implement more stdio functions
2018-03-06 21:47:39 -07:00
Jeremy Soller
bf41415c8b
Use Rust nightly, disable email notifications
2018-03-06 21:25:10 -07:00
Jeremy Soller
b14ee3ed39
Fix build, add Wall
2018-03-06 21:23:36 -07:00
Jeremy Soller
853fdaad75
Merge branch 'master' of github.com:redox-os/relibc
2018-03-06 21:16:14 -07:00
Jeremy Soller
a1ce114cd4
Convert errors and set errno
2018-03-06 21:15:38 -07:00
Jeremy Soller
6afdf3fabf
Merge pull request #21 from sajattack/patch-1
...
Test if the redox version compiles too
2018-03-06 21:08:09 -07:00
Paul
8f513f809b
Test if it compiles for redox too
2018-03-06 20:06:47 -08:00
Jeremy Soller
cf03233e66
Fix linux build
2018-03-06 20:44:21 -07:00
Jeremy Soller
b768e44678
Merge pull request #19 from sajattack/redox-fixes
...
redox fixes
2018-03-06 20:42:35 -07:00
Jeremy Soller
1dd2f61d76
Merge pull request #20 from dlrobertson/add_ci
...
Add test.sh and fmt.sh to travis.yml
2018-03-06 20:40:13 -07:00
Paul Sajna
05d316b3a5
redox fixes
2018-03-06 19:28:02 -08:00
Dan Robertson
628c68abe3
Add test.sh and fmt.sh to travis.yml
...
Do not accept unformatted code.
2018-03-07 03:15:24 +00:00
Jeremy Soller
98b2fba518
Merge pull request #18 from dlrobertson/aarch64
...
Finalize Aarch64 support
2018-03-06 20:03:47 -07:00
Dan Robertson
40b6a9c5cc
Finalize Aarch64 support
...
Update platform support for linux to avoid the use of syscalls not
supported by Aarch64.
- link, chown, and open should use fchownat and linkat with fd
set to AT_FDCWD.
- use dup3 with the 3rd arg set to 0 instead of dup2.
2018-03-07 02:56:08 +00:00
Jeremy Soller
543526cb85
Move crt0 and platform into src folder
...
Add cargo fmt script
2018-03-06 19:55:11 -07:00
Jeremy Soller
6bca112340
Merge pull request #16 from dlrobertson/fixes_and_nits
...
Fix platform
2018-03-06 19:30:13 -07:00
Dan Robertson
846e495944
Get rustfmt passing on core relibc code
...
- Add a rustfmt config
- Get the current code passing the formatter
2018-03-07 01:52:50 +00:00
Dan Robertson
2096b85115
Fix platform
...
- Add cfg to extern crate sc. It is not used by redox.
- Fix bad syntax in brk implementation for redox
- nits
- style: update brk implementation for linux
- style: no space between not operator and ptr.is_null
- style: should be a space around = in module path
2018-03-07 01:52:50 +00:00
Jeremy Soller
a808dfe39c
Merge pull request #14 from sajattack/unistd
...
implement some unistd
2018-03-05 19:31:08 -07:00
Paul Sajna
44e6c334e6
unwrap_or(-1)
2018-03-05 14:57:04 -08: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