Doc and pub use for strptime
This commit is contained in:
@@ -27,6 +27,7 @@ pub mod constants;
|
||||
|
||||
mod strftime;
|
||||
mod strptime;
|
||||
pub use strptime::strptime;
|
||||
|
||||
const YEARS_PER_ERA: time_t = 400;
|
||||
const DAYS_PER_ERA: time_t = 146097;
|
||||
|
||||
@@ -42,6 +42,7 @@ static LONG_MONTHS: [&str; 12] = [
|
||||
"December",
|
||||
];
|
||||
|
||||
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/strptime.html>.
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn strptime(
|
||||
buf: *const c_char,
|
||||
|
||||
Reference in New Issue
Block a user