summaryrefslogtreecommitdiffstats
path: root/src/include/time.h
Commit message (Collapse)AuthorAgeFilesLines
* [time] Allow system clock to be adjusted at runtimeMichael Brown2016-06-131-2/+2
| | | | | | | | | | Provide a mechanism to allow an arbitrary adjustment to be applied to all subsequent calls to time(). Note that the underlying clock source (e.g. the RTC clock) will not be changed; only the time as reported within iPXE will be affected. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown2015-03-021-1/+1
| | | | | | | Relicense files for which I am the sole author (as identified by util/relicense.pl). Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Add missing FILE_LICENCE declarationsMichael Brown2013-07-161-0/+2
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [time] Define an API for getting the current timeMichael Brown2012-03-191-0/+16
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [libc] Add mktime() functionMichael Brown2012-03-191-12/+25
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* Add POSIX prototypes for time functions, to allow external code to buildMichael Brown2007-01-191-0/+22
more easily within gPXE. Note that we don't have function bodies for these functions yet.