GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ELFTC_TIMESTAMP(3) FreeBSD Library Functions Manual ELFTC_TIMESTAMP(3)

elftc_timestamp
return the current or environment-provided timestamp

library “libelftc”

#include <libelftc.h>

int
elftc_timestamp(time_t *timestamp);

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.

Function elftc_timestamp() returns 0 on success, and -1 in the event of an error.

The elftc_timestamp() function may fail with the following errors:
[]
contains invalid characters.
[]
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).

strtoll(3), time(3)
August 24, 2016 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.