function::tz_ctime(3stap) — Linux manual page

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO | COLOPHON

FUNCTIO...Z_CTIME(3stap) Time utility functions FUNCTIO...Z_CTIME(3stap)

NAME         top

       function::tz_ctime - Convert seconds since epoch into human
       readable date/time string, with local time zone

SYNOPSIS         top

           tz_ctime(epochsecs:)

ARGUMENTS         top

       epochsecs
           number of seconds since epoch (as returned by gettimeofday_s)

DESCRIPTION         top

       Takes an argument of seconds since the epoch as returned by
       gettimeofday_s. Returns a string of the same form as ctime, but
       offsets the epoch time for the local time zone, and appends the
       name of the local time zone. The string length may vary. The time
       zone information is passed by staprun at script startup only.

SEE ALSO         top

       tapset::tzinfo(3stap)

COLOPHON         top

       This page is part of the systemtap (a tracing and live-system
       analysis tool) project.  Information about the project can be
       found at ⟨https://sourceware.org/systemtap/⟩.  If you have a bug
       report for this manual page, send it to [email protected].
       This page was obtained from the project's upstream Git repository
       ⟨git://sourceware.org/git/systemtap.git⟩ on 2024-06-14.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2024-06-13.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       [email protected]

SystemTap Tapset Reference     April 2024       FUNCTIO...Z_CTIME(3stap)

Pages that refer to this page: tapset::tzinfo(3stap)