|
NAMEelftc_timestamp —
return the current or environment-provided timestamp
LIBRARYlibrary “libelftc”SYNOPSIS#include <libelftc.h>
int
DESCRIPTIONTheelftc_timestamp () function returns a timestamp
supplied by the SOURCE_DATE_EPOCH environment
variable, or the current time provided by
time(3) if
the environment variable is not set.
The timestamp argument specifies a pointer to the location where the timestamp will be stored. RETURN VALUESFunctionelftc_timestamp () returns 0 on success, and -1
in the event of an error.
ERRORSTheelftc_timestamp () function may fail with the
following errors:
elftc_timestamp () function may also fail for any of
the reasons described in
strtoll(3).
SEE ALSOstrtoll(3), time(3)
Visit the GSP FreeBSD Man Page Interface. |