Skip to main content

gmtime_r

Function gmtime_r 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn gmtime_r( timer: *const time_t, result: *mut tm, ) -> *mut tm
Expand description

See https://pubs.opengroup.org/onlinepubs/9799919799/functions/gmtime.html.

ยงSafety

The caller is required to ensure that:

  • timer is a valid pointer
  • result is convertible to an Out<tm>.