*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: elftc_timestamp | Section: 3 | Source: FreeBSD | File: elftc_timestamp.3.gz
ELFTC_TIMESTAMP(3) FreeBSD Library Functions Manual ELFTC_TIMESTAMP(3) NAME elftc_timestamp - return the current or environment-provided timestamp LIBRARY library "libelftc" SYNOPSIS #include <libelftc.h> int elftc_timestamp(time_t *timestamp); DESCRIPTION The elftc_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 VALUES Function elftc_timestamp() returns 0 on success, and -1 in the event of an error. ERRORS The elftc_timestamp() function may fail with the following errors: [EINVAL] SOURCE_DATE_EPOCH contains invalid characters. [ERANGE] SOURCE_DATE_EPOCH specifies a negative value or a value that cannot be stored in a time_t. The elftc_timestamp() function may also fail for any of the reasons described in strtoll(3). SEE ALSO strtoll(3), time(3) FreeBSD 14.1-RELEASE-p8 August 24, 2016 FreeBSD 14.1-RELEASE-p8

Navigation Options