Doc and pub use for strptime

This commit is contained in:
Peter Limkilde Svendsen
2025-02-02 22:22:39 +01:00
parent ee4f346ef0
commit ef6b64a7c2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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;
+1
View File
@@ -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,