Commit Graph

19 Commits

Author SHA1 Message Date
Jeremy Soller 18961114e2 Simplify perror 2018-03-08 14:51:22 -07:00
Paul Sajna 6304595a1d Merge branch 'master' of github.com:redox-os/relibc 2018-03-08 11:07:51 -08: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
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
Alex Lyon 3e1b945e99 Add errno crate and set errno in strndup 2018-03-07 17:38:43 -08:00
Alex Lyon 9f39456dbd string: implement strcat, strcmp, strcpy, and strdup 2018-03-07 14:06:30 -08:00
Jeremy Soller d4308b4c5d Update rust toolchain and lock file 2018-03-04 18:01:28 -07:00
Jeremy Soller 7a7b3efe3a Merge branch 'master' of github.com:redox-os/relibc 2018-03-04 08:12:38 -07:00
Jeremy Soller 866d952924 Support building for Redox 2018-03-04 08:10:42 -07:00
Jeremy Soller e2695b2380 Merge pull request #11 from dlrobertson/aarch64
Start on support for aarch64
2018-03-03 23:00:30 -07:00
Dan Robertson d9d2ec1992 Start on support for aarch64
- Add aarch64 support
   - crt0 - add support to _start
   - platform - aarch64 does not have the open syscall. Instead most
     libc implementations use openat() with AT_FDCWD
 - Use sc instead of syscall. sc is the maintained fork of syscall.
2018-03-04 05:10:31 +00:00
Jeremy Soller 352f485649 Build grp header 2018-03-03 20:52:10 -07:00
Jeremy Soller c4b88cc1e6 Build ctype with header 2018-03-03 20:33:19 -07:00
Jeremy Soller 5520526bef Implement printf (very simple version) 2018-03-03 19:47:01 -07:00
Jeremy Soller f5ef0af883 Implement malloc/free with ralloc 2018-03-03 16:54:58 -07:00
Jeremy Soller e30dec7124 WIP: stdio.h 2018-03-03 15:15:50 -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