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 systemtap@sourceware.org.
       This page was obtained from the project's upstream Git repository
       ⟨git://sourceware.org/git/systemtap.git⟩ on 2023-12-22.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2023-12-21.)  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
       man-pages@man7.org

SystemTap Tapset Reference    November 2023     FUNCTIO...Z_CTIME(3stap)

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