Module helpers
Small helper functions used inside sys.
If any of these have uses outside of sys, please move them to a different
module.
Modules
- small_c_string
- wstr This module contains constructs to work with 16-bit characters (UCS-2 or UTF-16)
Structs
- WStrUnits A safe iterator over a LPWSTR (aka a pointer to a series of UTF-16 code units terminated by a NULL).
Functions
- ignore_notfound
-
mul_div_u64
Computes
(value*numerator)/denomwithout overflow, as long as bothnumerator*denomand the overall result fit intou64(which is the case for our time conversions). - run_path_with_cstr
- run_with_cstr