| xs/tai_now.c | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 4 | 4 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | n/a | ||
| pod | n/a | ||
| total | 4 | 4 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | /* Reimplementation of Daniel J. Bernsteins tai library. | ||||||
| 2 | * (C) 2001 Uwe Ohse, |
||||||
| 3 | * Report any bugs to |
||||||
| 4 | * Placed in the public domain. | ||||||
| 5 | */ | ||||||
| 6 | /* @(#) $Id: tai_now.c 1.3 01/05/02 09:55:30+00:00 uwe@fjoras.ohse.de $ */ | ||||||
| 7 | #include |
||||||
| 8 | #include "tai.h" | ||||||
| 9 | |||||||
| 10 | void | ||||||
| 11 | 39 | tai_now (struct tai *target) | |||||
| 12 | { | ||||||
| 13 | 39 | time_t t=time((void *)0); | |||||
| 14 | 39 | tai_unix (target, t); | |||||
| 15 | 39 | } |