Darley Barreto
9642d2ab02
Adding some wcst* functions
2023-05-22 16:01:04 +00:00
4lDO2
cdd0f67b23
Rustfmt.
2023-05-17 15:28:10 +02:00
Jeremy Soller
51c93c4b39
Cleanup of wchar_t and wint_t definitions
2023-05-11 10:41:49 -06:00
Jeremy Soller
29c898dff0
Cargo format
2023-05-11 07:48:51 -06:00
Jeremy Soller
e1ecdbd8a5
Implement vfwprintf
2023-05-11 07:48:49 -06:00
Jeremy Soller
5a5bd0c983
Add stubs for wprintf functions
2023-05-11 07:48:21 -06:00
Darley Barreto
82eb083091
Fixing wcsrtombs
2023-05-10 12:48:33 +00:00
Darley Barreto
c659bf11f9
Implementing ungetwc
2023-05-09 14:23:25 +00:00
Darley Barreto
7155005be2
Adding wcsrtombs.
2023-05-08 12:39:53 +00:00
Jeremy Soller
393489b38b
Add wcswidth and test
2022-12-16 17:39:06 -07:00
Jeremy Soller
f65c1c27c7
Implement wcwidth
2022-11-10 10:12:41 -07:00
4lDO2
700c53cf17
Update toolchain to 2021-06-15
2021-06-17 22:31:30 +02:00
Wren Turkal
865b7962a1
Add implmentation for fwide posix function.
...
This function is used to set the orientation of a stream to either
byte-oriented or wchar-oriented.
More info on this function is here:
https://man7.org/linux/man-pages/man3/fwide.3p.html
This implementation only impmlemnts the manual switching and does
not yet guard against using a byte-oriented stream with wchar
functions and vice versa. Those step will come in additional
commits.
Signed-off-by: Wren Turkal <wt@penguintechs.org >
2020-07-08 14:33:06 -07:00
jD91mZM2
593925ceb4
Unambiguate all include guards
...
GNU binutils also uses _FNMATCH_H for a guard, maybe along others!
2020-06-29 11:34:51 +02:00
oddcoder
eac69c920d
Implement wcscasecmp and wcsncasecmp
...
This patch implements wcscasecmp and wcsncasecmp. These two
function are required for binutils to link against relibc.
2020-04-26 19:13:03 +02:00
oddcoder
162999ac0b
Move towlower and towupper to wctype.h and Implement it
...
This patch creates wctype.h and impelementat two functions
that belong to that header file towupper and towlower. These
functions are building blocks for wcscasecmp and wcsncasecmp
which are utilized by binutils.
The implementation for towlower and towupper seams to be complex
so this implementation is mimicking that of musl libc
2020-04-26 19:13:03 +02:00
Peter Limkilde Svendsen
0b2c3fe5ea
Implement wcsstr(), fix return type of wcslen()
2019-11-14 02:46:53 +00:00
jD91mZM2
b8c50c7c64
Format
2019-08-04 19:05:45 +02:00
jD91mZM2
c7d499d4f2
Upgrade to the 2018 edition
...
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
jD91mZM2
a8280e8991
Implement wcstol, wcstod, and printf:ing wchars
2019-07-18 12:29:22 +02:00
jD91mZM2
7c99077248
Implement wcstok
2019-07-18 08:15:40 +02:00
Mateusz Mikuła
63a1319e50
Cbindgen update
2019-07-10 10:08:39 +00:00
Mateusz Mikuła
7597c082e7
Fix Clippy warnings
2019-05-11 22:34:13 +02:00
Jeremy Soller
7bde036031
Remove va_list submodule, format
2019-04-21 15:45:55 -06:00
Dan Robertson
fa94f1b6d5
Use core::ffi::VaList
2019-04-21 17:46:22 +02:00
Michal Z
89ca696f8e
Changed while loops to for
...
Changed while loops to for - https://gitlab.redox-os.org/redox-os/relibc/issues/128
2019-04-15 18:24:46 +02:00
emturner
4ed6dca61d
implements wcsrchr from wchar.h
2019-02-25 22:53:11 +00:00
emturner
ec3488c7b0
implements wcscspn from wchar.h
2019-02-22 23:18:21 +00:00
Jeremy Soller
c71088e768
Cleanup and format
2019-01-14 21:07:24 -07:00
Jeremy Soller
f7b3abc1b6
Add more wchar definitions
2018-12-13 08:11:49 -07:00
Jeremy Soller
1c1da7dfcb
Implement more wchar functions
2018-12-12 20:45:17 -07:00
Jeremy Soller
52fd4d7e83
Clippy fixes
2018-12-02 08:04:53 -07:00
Jeremy Soller
8f5470fd27
Reduce warnings
2018-08-27 07:12:24 -06:00
Jeremy Soller
7ab700315d
Fix warnings and add c_str
2018-08-26 15:15:29 -06:00
Jeremy Soller
277b9abcd5
Fix build, mostly
2018-08-26 08:56:02 -06:00
Jeremy Soller
c20ce5ffed
Large reorganization of headers (WIP)
2018-08-26 08:11:35 -06:00