Adding some wcst* functions

This commit is contained in:
Darley Barreto
2023-05-22 16:01:04 +00:00
committed by Jeremy Soller
parent 127f34a244
commit 9642d2ab02
10 changed files with 116 additions and 25 deletions
+3 -21
View File
@@ -1,5 +1,7 @@
use core::{convert::TryInto, ptr};
use crate::{
header::{ctype, errno::*, stdlib::*},
header::{ctype, errno::*, stdlib::*, wctype::iswspace},
platform::{self, types::*},
};
@@ -56,23 +58,3 @@ pub unsafe extern "C" fn strtoumax(
base
)
}
#[allow(unused)]
// #[no_mangle]
pub extern "C" fn wcstoimax(
nptr: *const wchar_t,
endptr: *mut *mut wchar_t,
base: c_int,
) -> intmax_t {
unimplemented!();
}
#[allow(unused)]
// #[no_mangle]
pub extern "C" fn wcstoumax(
nptr: *const wchar_t,
endptr: *mut *mut wchar_t,
base: c_int,
) -> uintmax_t {
unimplemented!();
}